delta/Makefile

28 lines
1.1 KiB
Makefile
Raw Normal View History

2019-08-08 19:06:00 +03:00
lint:
cargo clippy
2019-07-02 17:40:16 +03:00
build:
2019-07-03 16:02:50 +03:00
@printf "____________________________________________________________________________________\n"
2019-07-02 17:40:16 +03:00
cargo build
test:
2019-07-03 16:02:50 +03:00
cargo test
2019-07-12 19:31:58 +03:00
bash -c "diff -u <(git log -p | cut -c 2-) \
<(git log -p | delta --width variable \
2019-10-02 20:36:56 +03:00
--tabs 0 \
2019-07-12 19:31:58 +03:00
--commit-style plain \
--file-style plain \
--hunk-style plain \
| ansifilter | cut -c 2-)"
2019-11-26 00:41:04 +03:00
release:
cargo publish
2019-07-29 06:00:43 +03:00
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 -)
2019-07-25 05:43:58 +03:00
chronologer:
chronologer performance/chronologer.yaml