From ee497da0196c0169ec58ac86cf9f3bd11322832c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20H=C3=B6nnig?= Date: Fri, 13 Sep 2024 13:19:29 +0200 Subject: [PATCH] run ./gradlew test not gw-test alias in git-pull-... --- bin/git-pull-and-if-origin-changed-run-tests | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/bin/git-pull-and-if-origin-changed-run-tests b/bin/git-pull-and-if-origin-changed-run-tests index 945c4dbd..ad741f6d 100755 --- a/bin/git-pull-and-if-origin-changed-run-tests +++ b/bin/git-pull-and-if-origin-changed-run-tests @@ -16,10 +16,9 @@ while true; do git pull origin $BRANCH # run the command - echo "Running gw-test" - shopt -s expand_aliases - source .aliases - gw-test + echo "Running ./gradlew test" + source .aliases # only variables, aliases are not expanded in scripts + ./gradlew test else echo "no changes detected on the origin branch" fi