Tweak git hooks to run stack tests on commit, and both stack and sbt … · JavaDerek/unison@ba3a343 · GitHub
Skip to content

Commit ba3a343

Browse files
committed
Tweak git hooks to run stack tests on commit, and both stack and sbt tests on push.
1 parent 27dea5f commit ba3a343

3 files changed

Lines changed: 5 additions & 2 deletions

File tree

‎scripts/install-hooks.bash‎

Lines changed: 1 addition & 1 deletion

‎scripts/pre-commit.bash‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bash
22

33
echo "Running pre-commit hook from "`pwd`
4-
./scripts/test.sh
4+
./scripts/stack-test.sh
55

66
# $? stores exit value of the last command
77
if [ $? -ne 0 ]; then

‎scripts/stack-test.sh‎

Lines changed: 3 additions & 0 deletions

0 commit comments

Comments
 (0)