I want to use api-easy to test my REST app. I have it in the dependences inside the package.json, so when I run npm install it's installed in ./node_modules
I'm trying to add the api-easy to the path like this question.
Since I'm using a Makefile I have this:
test:
@PATH="./node_modules/api-easy/node_modules/.bin:$PATH"
@echo $PATH
vows
@node ./test/tests.js
Note: api-easy depends on vows
The PATH var in not being updated, when I do the echo it returns me "ATH"(not the value), and then the command vows in not found. How can I set properly the PATH in a Makefile?