Skip to content
Permalink
dd80894f8c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 23 lines (19 sloc) 502 Bytes
#!/usr/bin/env bash
numArgs=$#
if [[ $numArgs -gt 0 ]]; then
test_name=$1
shift
case "$test_name" in
server)
exec lein with-profiles production,shhdocker trampoline run -m clojure.main script/test.clj
;;
dispatcher)
exec lein with-profiles production,shhdocker,test trampoline run -m clojure.main script/test_dispatcher.clj
;;
*)
echo "Test '$test_name' not found"
exit 1
esac
else
echo "Please supply the name of the test you would like to run. e.g. server,dispatcher"
fi