summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorDan Davison <dandavison7@gmail.com>2019-07-28 23:00:43 -0400
committerDan Davison <dandavison7@gmail.com>2019-07-28 23:02:58 -0400
commit888895c3bfcb786930320c85dc4589bbb9af85ec (patch)
treea4064090401febfec8d2b30bdc5395cc8d60898e /Makefile
parent12ff66aaae3fa08b569d1e4424a5c488fe1b33fb (diff)
Release hash make target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 757e47b8..b639861a 100644
--- a/Makefile
+++ b/Makefile
@@ -11,5 +11,10 @@ test:
--hunk-style plain \
| ansifilter | cut -c 2-)"
+hash:
+ @version=$$(grep version Cargo.toml | head -n1 | sed -E 's,.*version = "([^"]+)",\1,') && \
+ printf "delta-$$version-x86_64-apple-darwin.tar.gz %s\n" $$(curl -sL https://github.com/dandavison/delta/releases/download/$$version/delta-$$version-x86_64-apple-darwin.tar.gz | sha256sum -) && \
+ printf "delta-$$version-x86_64-unknown-linux-musl.tar.gz %s\n" $$(curl -sL https://github.com/dandavison/delta/releases/download/$$version/delta-$$version-x86_64-unknown-linux-musl.tar.gz | sha256sum -)
+
chronologer:
chronologer performance/chronologer.yaml