-
Notifications
You must be signed in to change notification settings - Fork 18
/
Makefile
56 lines (49 loc) · 1.21 KB
/
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
build:
# ... build ...
cargo +nightly build
cargo +nightly build --features cbordata
cargo +stable build
cargo +stable build --features cbordata
#
# ... test ...
cargo +nightly test --no-run
cargo +nightly test --no-run --features cbordata
cargo +stable test --no-run
cargo +stable test --no-run --features cbordata
#
# ... bench ...
cargo +nightly bench --no-run
cargo +nightly bench --no-run --features cbordata
#
# ... doc ...
cargo +nightly doc
cargo +nightly doc --features cbordata
cargo +stable doc
cargo +stable doc --features cbordata
#
# ... meta commands ...
cargo +nightly clippy --all-targets --all-features
test:
# ... test ...
cargo +nightly test
cargo +nightly test --features cbordata
cargo +stable test --no-run
cargo +stable test --no-run --features cbordata
lint:
cargo fmt
cargo clippy --all-targets -- -D warnings
doc:
RUSTDOCFLAGS="-D warnings" cargo doc --all --no-deps
bench:
# ... test ...
cargo +nightly bench
cargo +nightly bench --features cbordata
cargo +stable test --no-run
flamegraph:
echo "not an executable"
prepare: build test bench
check.sh check.out
perf.sh perf.out
clean:
cargo clean
rm -f check.out perf.out flamegraph.svg perf.data perf.data.old