Skip to content

Commit

Permalink
Merged in deploy_arg (pull request #160)
Browse files Browse the repository at this point in the history
Pass arg to npm run deploy

Approved-by: Louise Poubel <lupoubel@hotmail.com>
  • Loading branch information
chapulina committed Jan 29, 2018
2 parents fb217b2 + c15ad76 commit ed01664
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,13 @@
"url": "https://bitbucket.org/osrf/gzweb"
},
"config": {
"port": "",
"deploy_op": ""
"port": ""
},
"scripts": {
"test": "./node_modules/.bin/eslint gz3d/src/*.js gz3d/test/*.js gzbridge/server.js && ./node_modules/karma/bin/karma start --singleRun",
"update": "./node_modules/.bin/grunt build && cd build && cmake ..",
"start": "if [ $npm_config_port ]; then port=$npm_config_port; fi; cd gzbridge && ./server.js $port",
"deploy": "if [ $npm_config_deploy_op ]; then ./deploy.sh -$npm_config_deploy_op; else ./deploy.sh; fi;",
"deploy": "./deploy.sh",
"docs": "./node_modules/.bin/grunt doc",
"coverage": "codecov"
},
Expand Down

0 comments on commit ed01664

Please sign in to comment.