From e8c49461115c36a1c72dd2f63531f52d7cebca86 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Thu, 26 Sep 2024 14:12:03 +0200 Subject: [PATCH] explicitly call gradlew build --- bin/git-pull-and-if-origin-changed-run-tests | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/bin/git-pull-and-if-origin-changed-run-tests b/bin/git-pull-and-if-origin-changed-run-tests index bed7056e..5f29db56 100755 --- a/bin/git-pull-and-if-origin-changed-run-tests +++ b/bin/git-pull-and-if-origin-changed-run-tests @@ -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