mirror of
https://github.com/valitydev/thrift.git
synced 2024-11-07 02:45:22 +00:00
nodejs: add NODE_PATH
This commit is contained in:
parent
6bac11f4fa
commit
f161282558
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user