From 405d256e9940bd38d6f2fe0c6671ca9fbcb777ae Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 11 Jan 2024 19:58:03 -0800 Subject: [PATCH] Added test-format --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 47c8eeb1..61bac1a1 100644 --- a/Makefile +++ b/Makefile @@ -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 : @@ -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 . $<