We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22d747f commit 8415460Copy full SHA for 8415460
Makefile
@@ -79,7 +79,11 @@ pre_commit/install:
79
@echo "Installing pre-commit hook"
80
cp $(PRE_COMMIT_SCRIPTS_FILE) $(GIT_DIR)/hooks/
81
82
-pre_commit/run: test sa lint
+pre_commit/run:
83
+ @$(MAKE) -j3 test/parallel sa lint
84
+
85
+test/parallel: $(TEST_SCRIPTS)
86
+ @bash ./bashunit --parallel --simple $(TEST_SCRIPTS)
87
88
sa:
89
ifndef STATIC_ANALYSIS_CHECKER
bin/pre-commit
@@ -4,7 +4,7 @@ echo "Running pre-commit checks"
4
make pre_commit/run
5
EXIT_CODE=$?
6
7
-if [[ ${EXIT_CODE} -ne 0 ]]; then
+if [ "${EXIT_CODE}" -ne 0 ]; then
8
echo "Pre Commit checks failed. Please fix the above issues before committing"
9
exit ${EXIT_CODE}
10
else
0 commit comments