aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2020-10-01 02:24:19 +0200
committerTeddy Wing2020-10-01 02:24:19 +0200
commitaf63ef79f5f2bc770844169580902ff61f54ec98 (patch)
tree598c38febd957125f39193a8401d9e51186ff8d3
parent2abaebd602a528ee86558ee6a20189186499d4f7 (diff)
downloadgit-todo-af63ef79f5f2bc770844169580902ff61f54ec98.tar.bz2
Makefile: Ensure binary is built before running tests
-rw-r--r--Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index e67850b..b8fc02b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,6 @@
.PHONY: test
-
-test:
+test: target/debug/git-todo
prove -v -I./t
+
+target/debug/git-todo:
+ cargo build