Repository navigation
Expand file tree
/
Copy path.taskcmd
More file actions
89 lines (70 loc) · 2.12 KB
/
Copy path.taskcmd
File metadata and controls
89 lines (70 loc) · 2.12 KB
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
.note To use these task definitions, run:
cargo install taskcmd
.tasks
.all
.task clean
.task build
.task clippy
.task test
.task cov
.build
.desc Builds in debug mode
.cmd cargo +stable build
.clean
.desc Cleans all
.cmd rm -rf manual/book
.cmd cargo +stable clean
.clippy
.desc Runs linter
.cmd cargo +stable clippy --all-targets
.cov
.desc Generates code coverage report in text format
.cmd cargo +stable llvm-cov clean
.cmd cargo +stable llvm-cov --no-cfg-coverage
.cov-html
.desc Generates code coverage report in HTML format
.cmd cargo +stable llvm-cov clean
.cmd cargo +stable llvm-cov --no-cfg-coverage --html
.cov-html-open
.desc Generates code coverage report in HTML format and opens in browser
.cmd cargo +stable llvm-cov clean
.cmd cargo +stable llvm-cov --no-cfg-coverage --html --open
.cov-badge
.desc Generates code coverage badge
.cmd cargo +stable llvm-cov clean
.cmd cargo +stable llvm-cov --no-cfg-coverage --json --summary-only | coverio -l coverage -c --tag cov-badge
.doc
.desc Generates documentation
.cmd cargo +stable doc --no-deps
.doc-open
.desc Generates documentation and opens in browser
.cmd cargo +stable doc --no-deps --open
.fmt
.desc Runs code formatter
.cmd cargo +nightly fmt
.install
.desc Installs task commander from local sources
.cmd cargo +stable install exit-with --path . --force
.manual
.desc Builds the manual from its markdown files
.cmd mdbook build
.dir manual
.readme
.desc Recreates README file
Updates the README file taken from the documentation
and then recalculates and updates code coverage stats.
.cmd magg readme
.task cov-badge
.serve
.desc Serves manual locally
.cmd mdbook serve
.dir manual
.test
.desc Runs tests in debug mode
.cmd cargo +stable test
.testn
.desc Runs tests in debug mode using nextest
.cmd cargo +stable nextest run
.uninstall
.desc Uninstalls previously installed task commander
.cmd cargo +stable uninstall exit-with