summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2020-04-16 11:06:06 -0400
committerDan Davison <dandavison7@gmail.com>2020-04-16 11:06:06 -0400
commit9557639e098d6bd3bd5fc57931297a8f7cc643a9 (patch)
tree90aeaa1d69ea23aa0fbefb56755d03542b4fddb1 /Makefile
parent714f97398eab62a85dc60aa6b02648431567071f (diff)
Explicitly specify executable used in end-to-end test
Also, refactor makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 71356c7d..e2b918a6 100644
--- a/Makefile
+++ b/Makefile
@@ -4,9 +4,13 @@ build:
lint:
cargo clippy
-test:
+test: unit-test end-to-end-test
+
+unit-test:
cargo test
- bash -c "diff -u <(git log -p) <(git log -p | delta --color-only | ansifilter)"
+
+end-to-end-test: build
+ bash -c "diff -u <(git log -p) <(git log -p | target/release/delta --color-only | ansifilter)"
release:
@make -f release.Makefile release
@@ -22,3 +26,5 @@ hash:
chronologer:
chronologer performance/chronologer.yaml
+
+.PHONY: build lint test unit-test end-to-end-test release vesion hash chronologer