Skip to content

Commit

Permalink
Modify path
Browse files Browse the repository at this point in the history
  • Loading branch information
puritys committed May 22, 2015
1 parent 964ea96 commit b15f653
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
clone:
git clone git@github.com:puritys/nodejs-phplike-binary.git ./binary

all:
cd system/exec && gmake
cd nodejs && gmake
cd src/cpp && make
cd src/nodeExt && make

gyp:
node-gyp configure
Expand All @@ -12,10 +13,18 @@ gyp:
gyp-test:
node-gyp configure
node-gyp build
sudo cp build/Release/nodejs-phplike.node /usr/local/lib/node_modules/phplike/node_modules/phplike.node
# sudo cp build/Release/nodejs-phplike.node /usr/local/lib/node_modules/phplike/node_modules/phplike.node

mocha:
mocha tests/*.js
mocha tests/mysql/*.js


deployPreTest:
gmake mocha
sudo npm install -g
mocha tests/manualTest/global.sjs


#npm adduser
#npm publish
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"homepage": "https://github.com/puritys/nodejs-phplike",
"license" : "MIT",
"name" : "phplike",
"files": ["nodejs", "system", "index.js", "module.js", "binding.gyp", "package.json", "install.js", "binary"],
"files": ["src", "index.js", "module.js", "binding.gyp", "package.json", "install.js", "binary"],
"scripts": {
"install": "node install.js",
"test": "mocha tests",
Expand Down

0 comments on commit b15f653

Please sign in to comment.