Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/bin/bash
clear
# build pxnCommon
pushd pxnCommon/ || exit 1
\mvn install || exit 1
popd
echo
# build server
pushd GrowControl/server/ || exit 1
\mvn install || exit 1
popd
echo
# run server
echo "Running.."
sleep 1
clear
pushd GrowControl/server/target/ >/dev/null || exit 1
\java -jar gcServer-3.6.1.jar $@
popd >/dev/null
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment