Skip to content
Snippets Groups Projects
Commit 5038ef6f authored by Nathaniel Kofalt's avatar Nathaniel Kofalt
Browse files

Tweak bash scripts

parent f8bf84fa
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
#!/usr/bin/env bash
set -e
if [ -z "$1" ]
then
......@@ -6,4 +7,10 @@ if [ -z "$1" ]
exit 1
fi
../../../live.sh cmd PYTHONPATH=code/api:code/data code/api/bin/bootstrap.py users -f mongodb://localhost:9001/scitran code/api/test/test_bootstrap.json $1
\ No newline at end of file
(
# Set cwd
unset CDPATH
cd "$( dirname "${BASH_SOURCE[0]}" )"
../../../live.sh cmd PYTHONPATH=code/api:code/data code/api/bin/bootstrap.py users -f mongodb://localhost:9001/scitran code/api/test/test_bootstrap.json $1
)
#!/bin/sh
#!/usr/bin/env bash
set -e
../../../live.sh cmd PYTHONPATH=code/api:code/data nosetests -vv --exe --collect-only code/api/test/$1
\ No newline at end of file
(
# Set cwd
unset CDPATH
cd "$( dirname "${BASH_SOURCE[0]}" )"
../../../live.sh cmd PYTHONPATH=code/api:code/data nosetests -vv --exe --collect-only code/api/test/$1
)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment