d9aeb582a2
- Fix lints - Formatting pass - Add Cargo.lock Use anyhow to improve error handling Fix errors during directory removal in Windows Update dependencies Switch linux build to musl Switch to musl Set version to 0.4.0 Allow using uid instead of mtime Remove name duplication with runner map Fixing typo
34 lines
1.0 KiB
Makefile
34 lines
1.0 KiB
Makefile
all:
|
|
$(MAKE) build
|
|
|
|
build:
|
|
cargo build -p warp-runner --release --target x86_64-unknown-linux-musl
|
|
strip target/x86_64-unknown-linux-musl/release/warp-runner
|
|
|
|
CC=x86_64-apple-darwin15-clang cargo build -p warp-runner --release --target x86_64-apple-darwin
|
|
x86_64-apple-darwin15-strip target/x86_64-apple-darwin/release/warp-runner
|
|
|
|
cargo build -p warp-runner --release --target x86_64-pc-windows-gnu
|
|
strip target/x86_64-pc-windows-gnu/release/warp-runner.exe
|
|
|
|
cargo build -p warp-packer --release --target x86_64-unknown-linux-musl
|
|
strip target/x86_64-unknown-linux-musl/release/warp-packer
|
|
|
|
CC=x86_64-apple-darwin15-clang cargo build -p warp-packer --release --target x86_64-apple-darwin
|
|
x86_64-apple-darwin15-strip target/x86_64-apple-darwin/release/warp-packer
|
|
|
|
cargo build -p warp-packer --release --target x86_64-pc-windows-gnu
|
|
strip target/x86_64-pc-windows-gnu/release/warp-packer.exe
|
|
|
|
clean:
|
|
cargo clean
|
|
|
|
check:
|
|
$(MAKE) build
|
|
$(MAKE) test
|
|
|
|
test:
|
|
cargo test
|
|
|
|
.PHONY: all build clean check test
|