preserves/implementations/rust/Makefile

42 lines
823 B
Makefile
Raw Normal View History

2021-08-10 14:48:20 +00:00
# Use cargo release to manage publication and versions etc.
#
# cargo install cargo-release
2021-07-05 11:03:30 +00:00
all:
cargo build --all-targets
2023-10-26 22:46:27 +00:00
doc:
cargo doc --workspace
2021-11-16 21:06:56 +00:00
x86_64-binary: x86_64-binary-release
2021-10-08 14:56:35 +00:00
2021-11-16 21:06:56 +00:00
x86_64-binary-release:
cross build --target=x86_64-unknown-linux-musl --release --all-targets
armv7-binary: armv7-binary-release
armv7-binary-release:
2021-10-08 14:56:35 +00:00
cross build --target=armv7-unknown-linux-musleabihf --release --all-targets
2021-09-29 10:09:52 +00:00
aarch64-binary: aarch64-binary-release
aarch64-binary-release:
cross build --target=aarch64-unknown-linux-musl --release --all-targets
2021-07-05 11:03:30 +00:00
test:
cargo test
test-all:
cargo test --all-targets
2021-08-10 14:48:20 +00:00
ws-bump:
cargo workspaces version \
--no-global-tag \
--individual-tag-prefix 'rust-%n@' \
--allow-branch 'main' \
--ignore-changes '../*'
ws-publish:
cargo workspaces publish \
--from-git