Last active
August 29, 2015 13:57
-
-
Save rouge8/9491763 to your computer and use it in GitHub Desktop.
Makefile path weirdness
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
vagrant@precise64:/rouge8/tmp/makewtf$ make test | |
npm install --silent --no-color | |
echo /bin/sh | |
/bin/sh | |
which karma | |
node_modules/.bin/karma | |
karma --version | |
Karma version: 0.12.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export PATH := node_modules/.bin:$(PATH) | |
export SHELL := /bin/bash | |
.PHONY: test install-deps | |
install-deps: | |
npm install --silent --no-color | |
test: install-deps | |
echo $(SHELL) | |
which karma | |
karma --version |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ make test | |
npm install --silent --no-color | |
echo /bin/sh | |
/bin/sh | |
which karma | |
node_modules/.bin/karma | |
karma --version | |
make: karma: No such file or directory | |
make: *** [test] Error 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "makewtf", | |
"version": "0.0.0", | |
"description": "", | |
"devDependencies": { | |
"karma-cli": "0.0.3", | |
"karma": "^0.12.0" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment