summaryrefslogtreecommitdiff
path: root/test/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/Makefile')
-rw-r--r--test/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/Makefile b/test/Makefile
index 40f5cf9..717b430 100644
--- a/test/Makefile
+++ b/test/Makefile
@@ -14,6 +14,10 @@ all: munit.o $(TESTS)
clean:
$(RM) *.o *_test
+.PHONY: linter
+linter: $(SRCS)
+ clang-format --dry-run --Werror $?
+
string_view_test: munit.o ../build/string_view.o string_view_test.o
$(CC) $? $(CFLAGS) -o $@