aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-07-06 16:22:26 +0200
committerlonkaars <loek@pipeframe.xyz>2023-07-06 16:22:26 +0200
commitcb78013884e3aa3b1e1a91722f5eeb78c62f6796 (patch)
tree72a40258a246607ecb59eb596e417f81181b59a7 /makefile
parent4e32a1942ff2478b557af1b900b3f3282d7ce55b (diff)
update tests
Diffstat (limited to 'makefile')
-rw-r--r--makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/makefile b/makefile
index cad47ab..6136ad6 100644
--- a/makefile
+++ b/makefile
@@ -17,6 +17,15 @@ DENO_FLAGS += --allow-read
DENO_FLAGS += --allow-write
DENO_FLAGS += --allow-net
+include test/tests.mk
+
+.PHONY: build test
+
+build: $(TARGET)
+
$(TARGET): $(SRCS)
deno compile --output $@ $< $(DENO_FLAGS)
+test:
+ deno test $(DENO_FLAGS) $(TESTS)
+