gitui/Makefile
Stephan Dilly 7a479b1896 reduce git2 features and add musl build step
fix tabs

integrate linux musl builds in CD pipeline
2020-04-16 14:05:28 +02:00

36 lines
846 B
Makefile

.PHONY: debug build-release release-linux-musl test clippy clippy-pedantic install install-debug
debug:
GITUI_LOGGING=true cargo run --features=timing
build-release:
cargo build --release
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
mkdir -p release
tar -C ./target/x86_64-unknown-linux-musl/release/ -czvf ./release/gitui-linux-musl.tar.gz ./gitui
test:
cargo test --workspace
clippy:
cargo clean
cargo clippy --all-features
clippy-pedantic:
cargo clean
cargo clippy --all-features -- -W clippy::pedantic
install:
cargo install --path "."
install-debug:
cargo install --features=timing --path "."