Skip to content

Commit

Permalink
Added test-format
Browse files Browse the repository at this point in the history
  • Loading branch information
justinethier committed Jan 12, 2024
1 parent 436a656 commit 405d256
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ format : gc.c runtime.c ffi.c hashset.c mstreams.c ck-polyfill.c ck-polyfill.h $
$(FORMAT_CMD) mstreams.c
$(FORMAT_CMD) runtime.c

test-format :
./scripts/check-c-formatting.sh hashset.c

# This is a test directive used to test changes to a SLD file
# EG: make sld SLDPATH=scheme/cyclone SLD=macros
sld :
Expand All @@ -156,7 +159,7 @@ api-doc :

# Helper rules (of interest to people hacking on this makefile)

.PHONY: clean full bench bootstrap tags format debug test doc api-doc
.PHONY: clean full bench bootstrap tags format test-format debug test doc api-doc

$(TESTS) : %: %.scm cyclone libs
$(CYCLONE_LOCAL) -I . $<
Expand Down

0 comments on commit 405d256

Please sign in to comment.