3
0
mirror of https://github.com/britzl/monarch.git synced 2025-09-27 18:12:22 +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

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 "foobar" --email "john@doe.com" resolve
java -jar bob.jar --auth "${DEFOLD_AUTH}" --email "${DEFOLD_USER}" 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