We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d64a4e4 + 23ddeb3 commit b552fe1Copy full SHA for b552fe1
1 file changed
scripts/hooks/pre-commit
@@ -17,3 +17,8 @@ if ! ./gradlew --daemon detekt &>/dev/null; then
17
echo >&2 "Detekt failed! See report at file://$(pwd)/library/build/reports/detekt/detekt.html"
18
exit 1
19
fi
20
+
21
+if ! ./gradlew compileUnitTestSources compileDebugAndroidTestSources; then
22
+ echo >&2 "Compilation of unit test and androidTest code failed!"
23
+ exit 1
24
+fi
0 commit comments