aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 08ce194..8e91d31 100644
--- a/Makefile
+++ b/Makefile
@@ -8,6 +8,11 @@ all: build tests
build: tmp/built
+check: build
+ $(RUSTC) -L tmp --test $(MAIN_SOURCE) -o TEST
+ ./TEST
+ @rm -f TEST
+
tests: $(TESTS)
bin/%: test/%.rs tmp/built