aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-03-29 00:28:03 -0500
committerJesse Luehrs <doy@tozt.net>2013-03-29 00:28:03 -0500
commit809ac25b4fda72630704158afe9c88ba38cc412f (patch)
tree9e9b40cffcc516343f0de09bd5113a0e574f495b /Makefile
parent9240cf39c3266b54e1f956a10287f58fb9914a3d (diff)
downloadrust-term-809ac25b4fda72630704158afe9c88ba38cc412f.tar.gz
rust-term-809ac25b4fda72630704158afe9c88ba38cc412f.zip
add a basic string trie implementation
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