File tree Expand file tree Collapse file tree 4 files changed +7
-1
lines changed
Expand file tree Collapse file tree 4 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 3333 env :
3434 FMT : ' false'
3535 LINT : ' false'
36+ DOC : ' true'
3637 BUILD : ' true'
3738 TEST : ' true'
3839 BUILD_FLAGS : ' --locked'
4344 env :
4445 FMT : ' false'
4546 LINT : ' false'
47+ DOC : ' true'
4648 BUILD : ' true'
4749 TEST : ' true'
4850 BUILD_FLAGS : ' --locked'
Original file line number Diff line number Diff line change 4646 env :
4747 FMT : ' false'
4848 LINT : ' false'
49+ DOC : ' true'
4950 BUILD : ' true'
5051 TEST : ' true'
5152 BUILD_FLAGS : ' --locked'
5657 env :
5758 FMT : ' false'
5859 LINT : ' false'
60+ DOC : ' true'
5961 BUILD : ' true'
6062 TEST : ' true'
6163 BUILD_FLAGS : ' --locked'
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ The benchmark was generated by [a GitHub Workflow](https://github.com/KSXGitHub/
2828* [ ` ncdu ` ] ( https://dev.yorhel.nl/ncdu )
2929* [ ` gdu ` ] ( https://github.com/dundee/gdu ) v5.0.0
3030* ` du `
31-
31+
3232</details >
3333
3434<figure >
@@ -69,6 +69,7 @@ Environment Variables
6969| ---------------| -------------------| ---------------| -------------------------------------------------|
7070| ` FMT ` | ` true ` or ` false ` | ` true ` | Whether to run ` cargo fmt ` |
7171| ` LINT ` | ` true ` or ` false ` | ` true ` | Whether to run ` cargo clippy ` |
72+ | ` DOC ` | ` true ` or ` false ` | ` false ` | Whether to run ` cargo doc ` |
7273| ` BUILD ` | ` true ` or ` false ` | ` true ` | Whether to run ` cargo build ` |
7374| ` TEST ` | ` true ` or ` false ` | ` true ` | Whether to run ` cargo test ` |
7475| ` BUILD_FLAGS ` | string | _ (empty)_ | Space-separated list of flags for ` cargo build ` |
Original file line number Diff line number Diff line change @@ -27,6 +27,7 @@ run_if() (
2727
2828unit () (
2929 eval run_if " ${LINT:- true} " cargo clippy " $@ " -- -D warnings
30+ eval run_if " ${DOC:- false} " cargo doc " $@ "
3031 eval run_if " ${BUILD:- true} " cargo build " ${BUILD_FLAGS:- } " " $@ "
3132 eval run_if " ${TEST:- true} " cargo test " ${TEST_FLAGS:- } " " $@ "
3233)
You can’t perform that action at this time.
0 commit comments