nodejs: add NODE_PATH

This commit is contained in:
Roger Meier 2014-01-06 07:19:09 +01:00
parent 6bac11f4fa
commit f161282558

View File

@ -18,7 +18,7 @@ all:
../../../compiler/cpp/thrift --gen js:node user.thrift
server: all
NODE_PATH=../lib:../lib/thrift node server.js
NODE_PATH=../lib:../lib/thrift:$(NODE_PATH) node server.js
client: all
NODE_PATH=../lib:../lib/thrift node client.js
NODE_PATH=../lib:../lib/thrift:$(NODE_PATH) node client.js