aboutsummaryrefslogtreecommitdiff
path: root/makefile
diff options
context:
space:
mode:
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)
+