explicitly call gradlew build

This commit is contained in:
Michael Hoennig 2024-09-26 14:12:03 +02:00
parent 086fb11436
commit e8c4946111

View File

@ -1,8 +1,7 @@
#!/bin/bash
# waits for commits on any branch on origin, checks it out and builds it
# Configuration: Set the remote repository name and check interval
BUILD_CMD="gw-test" # Placeholder for the build command
. .aliases
while true; do
echo "Checking for new commits on any branch ..."
@ -15,7 +14,7 @@ while true; do
git checkout -b "$branch_with_new_commits" "origin/$branch_with_new_commits"
echo "building ..."
eval "$BUILD_CMD"
./gradlew test
fi
# wait 10s with a little animation