Зафиксировать рабочий BreathMonitor v1 и сервер
This commit is contained in:
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
cd "$(dirname "$0")"
|
||||
if [[ -x ./gradlew ]]; then
|
||||
./gradlew --no-daemon shadowJar
|
||||
elif command -v gradle >/dev/null 2>&1; then
|
||||
gradle --no-daemon shadowJar
|
||||
else
|
||||
echo 'Gradle is required (install Gradle or provide ./gradlew).' >&2
|
||||
exit 1
|
||||
fi
|
||||
printf 'Built %s\n' "$(pwd)/build/libs/breathmonitor-1.0.0.jar"
|
||||
Reference in New Issue
Block a user