We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1663eba commit 2ecfa90Copy full SHA for 2ecfa90
1 file changed
hooks/pre-commit
@@ -1,13 +1,13 @@
1
#!/bin/sh
2
# From gist at https://gist.github.com/chadmaughan/5889802
3
4
-echo '[git hook] executing gradle spotlessCheck before commit'
+echo '[git hook] executing gradle spotless check before commit'
5
6
# run the spotlessCheck with the gradle wrapper
7
-./gradlew spotlessCheck --daemon
+make checkFormat
8
9
# store the last exit code in a variable
10
RESULT=$?
11
12
# return the './gradlew spotlessCheck' exit code
13
-exit $RESULT
+exit $RESULT
0 commit comments