3
0
mirror of https://github.com/britzl/monarch.git synced 2025-06-27 10:27:49 +02:00

Update run.sh

This commit is contained in:
Björn Ritzl 2019-10-21 06:36:12 +02:00 committed by GitHub
parent a77431600e
commit 7b20e48424
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,11 +26,9 @@ chmod +x dmengine_headless
echo "Downloading ${BOB_URL}" echo "Downloading ${BOB_URL}"
curl -o bob.jar ${BOB_URL} curl -o bob.jar ${BOB_URL}
# Fetch libraries if DEFOLD_AUTH and DEFOLD_USER are set # Fetch libraries
if [ -n "${DEFOLD_AUTH}" ] && [ -n "${DEFOLD_USER}" ]; then
echo "Running bob.jar - resolving dependencies" echo "Running bob.jar - resolving dependencies"
java -jar bob.jar --auth "${DEFOLD_AUTH}" --email "${DEFOLD_USER}" resolve java -jar bob.jar --auth "foobar" --email "john@doe.com" resolve
fi
echo "Running bob.jar - building" echo "Running bob.jar - building"
java -jar bob.jar --debug build --keep-unused java -jar bob.jar --debug build --keep-unused