-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
35 lines (27 loc) · 700 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
ci:
cargo build --all-features
cargo fmt -- --check --verbose
cargo clippy --all-features
cargo test --all-features --verbose
cargo run --all-features --example basic
@echo "Done."
local:
cargo build --all-features --verbose
cargo fmt -- --verbose
cargo clippy --all-features
cargo test --all-features --verbose
cargo run --all-features --example basic
print-version:
cargo run --example version
release-tag:
$(shell cargo run --example release-tag)
git push --tags
docs:
cargo doc --all-features --open
publish:
cargo publish
release: release-tag publish
# cargo install cargo-criterion
benchmark:
RUSTFLAGS="-C target-cpu=native" cargo criterion --benches
bench: benchmark