File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change 11bench_output := target/criterion
2+ version := $(egrep '^version.*=.*' Cargo.toml | egrep -o "\d+\.\d+\.\d+" )
23
3- .PHONY : all bench buildci buildrelease install cov
4+ .PHONY : all bench buildci buildrelease install cov publish
45
56all : buildrelease
67
8+ builddev :
9+ cargo doc --lib
10+ cargo clippy -- -D warnings
11+ cargo fmt --all -- --check
12+ cargo test
13+
714buildci :
815 cargo clippy --workspace -- -D warnings
916 cargo fmt --all -- --check
1017 cargo llvm-cov --all-features --workspace --lcov --output-path lcov.info
1118
12- buildrelease :
13- cargo doc --lib
14- cargo clippy -- -D warnings
15- cargo fmt --all -- --check
16- cargo test
19+ buildrelease : builddev
1720 make -C book/
1821 make -C release/
1922 # make -j 5 -C release/
@@ -28,3 +31,8 @@ install:
2831
2932cov :
3033 cargo llvm-cov
34+
35+ publish : builddev
36+ cargo publish
37+ git tag -as v${version} -m " ${version} "
38+ make -C csvp/ publish
Original file line number Diff line number Diff line change 1+ .PHONY : publish
2+
3+ publish :
4+ cargo publish
You can’t perform that action at this time.
0 commit comments