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