diff options
author | Bruno Wagner <bwgpro@gmail.com> | 2015-01-20 16:47:12 -0200 |
---|---|---|
committer | Bruno Wagner <bwgpro@gmail.com> | 2015-01-20 16:47:12 -0200 |
commit | a68a37acffc56417b45f2975a5cc900df34eec1f (patch) | |
tree | 622e5a639c3428afc57b5fe6f35c9f65ca069ce4 /service | |
parent | 4930914ad7895d2e1ef62370e7278b3bd94fd4ee (diff) |
Fixed the arguments passing of the go script, setup with always unzip was not working because of it
Diffstat (limited to 'service')
-rwxr-xr-x | service/go | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -1,8 +1,8 @@ #!/bin/bash function setuppy { - python setup.py develop pip install -r test_requirements.txt + python setup.py develop $* } function setupjs { @@ -12,11 +12,11 @@ function setupjs { } function runIntegrationTests { - nosetests "${@:2}" test/integration + nosetests "$*" test/integration } function runUnitTests { - nosetests "${@:2}" test/unit + nosetests "$*" test/unit } function runPep8 { @@ -32,8 +32,8 @@ function runJSHint { if [ "$1" == 'test' ]; then runJSHint runPep8 - runUnitTests - runIntegrationTests + runUnitTests "${@:2}" + runIntegrationTests "${@:2}" elif [ "$1" == 'unit' ]; then runUnitTests elif [ "$1" == 'integration' ]; then @@ -46,7 +46,7 @@ elif [ "$1" == 'setupjs' ]; then setupjs elif [ "$1" == 'setup' ]; then setupjs - setuppy + setuppy "${@:2}" elif [ "$1" == 'start' ]; then /usr/bin/env pixelated-user-agent "${@:2}" else |