Skip to content

Commit

Permalink
fix spacing in makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
janmasrovira committed Jul 18, 2024
1 parent 2ff6172 commit 9832a42
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,12 @@ format:
exit_code=$$?; \
if [ $$exit_code -eq 0 ]; then \
echo "[OK] $$file is formatted"; \
elif [ $$exit_code -eq 1 ] && [ $(FORMATCHECK) -eq 0 ]; then \
elif [ $$exit_code -eq 1 ] && [ $(FORMATCHECK) -eq 0 ]; then \
echo "[OK] $$file was formatted"; \
else \
echo "[FAIL] $$file formatting failed" && exit 1; \
fi; \
done;
echo "[FAIL] $$file formatting failed" && exit 1; \
fi; \
done;

.PHONY: check-format
check-format: FORMATCHECK=1
Expand All @@ -55,7 +55,7 @@ typecheck:
if [ $$exit_code -eq 0 ]; then \
echo "[OK] $$file typechecks"; \
else \
echo "[FAIL] Typecking failed for $$file" && exit 1 ; \
fi; \
echo "[FAIL] Typecking failed for $$file" && exit 1 ; \
fi; \
done

0 comments on commit 9832a42

Please sign in to comment.