gitui/Makefile

36 lines
846 B
Makefile
Raw Normal View History

2020-03-22 04:45:42 +03:00
.PHONY: debug build-release release-linux-musl test clippy clippy-pedantic install install-debug
2020-03-28 22:47:29 +03:00
2020-03-22 04:45:42 +03:00
debug:
GITUI_LOGGING=true cargo run --features=timing
2020-04-06 11:18:26 +03:00
build-release:
cargo build --release
2020-04-15 17:36:40 +03:00
release-mac: build-release
strip target/release/gitui
mkdir -p release
tar -C ./target/release/ -czvf ./release/gitui-mac.tar.gz ./gitui
release-linux-musl:
cargo build --release --target=x86_64-unknown-linux-musl
strip target/x86_64-unknown-linux-musl/release/gitui
2020-04-15 17:36:40 +03:00
mkdir -p release
tar -C ./target/x86_64-unknown-linux-musl/release/ -czvf ./release/gitui-linux-musl.tar.gz ./gitui
2020-04-06 11:18:26 +03:00
2020-03-26 12:08:28 +03:00
test:
cargo test --workspace
2020-03-26 12:08:28 +03:00
2020-03-27 02:41:59 +03:00
clippy:
cargo clean
2020-03-27 02:50:02 +03:00
cargo clippy --all-features
2020-03-27 02:41:59 +03:00
2020-03-27 03:11:15 +03:00
clippy-pedantic:
cargo clean
cargo clippy --all-features -- -W clippy::pedantic
2020-03-22 04:45:42 +03:00
install:
cargo install --path "."
install-debug:
cargo install --features=timing --path "."