-
Notifications
You must be signed in to change notification settings - Fork 362
Expand file tree
/
Copy path.taskcmd
More file actions
96 lines (81 loc) · 2.99 KB
/
Copy path.taskcmd
File metadata and controls
96 lines (81 loc) · 2.99 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
90
91
92
93
94
95
96
.note To use these task definitions, run:
cargo install taskcmd
.vars
.TOOLCHAIN +1.82.0
.note Rust toolchain for building contracts.
.tasks
.build
.desc Builds all artifacts in debug mode
.note Build packages
.cmd cargo {{TOOLCHAIN}} build
.dir ./packages/cw1
.cmd cargo {{TOOLCHAIN}} build
.dir ./packages/cw3
.cmd cargo {{TOOLCHAIN}} build
.dir ./packages/cw4
.cmd cargo {{TOOLCHAIN}} build
.dir ./packages/cw20
.cmd cargo {{TOOLCHAIN}} build
.dir ./packages/easy-addr
.note Build contracts
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw1-subkeys
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw1-whitelist
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw3-fixed-multisig
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw3-flex-multisig
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw4-group
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw4-stake
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw20-base
.cmd cargo {{TOOLCHAIN}} build
.dir ./contracts/cw20-ics20
.clean
.desc Cleans all generated artifacts
.cmd cargo {{TOOLCHAIN}} clean
.clippy
.desc Runs linter
.cmd cargo {{TOOLCHAIN}} clippy --all-targets --workspace
.cov
.desc Generates code coverage report in text format
.cmd cargo {{TOOLCHAIN}} llvm-cov clean
.cmd cargo {{TOOLCHAIN}} llvm-cov --no-cfg-coverage
.cov-html
.desc Generates code coverage report in HTML format
.cmd cargo {{TOOLCHAIN}} llvm-cov clean
.cmd cargo {{TOOLCHAIN}} llvm-cov --no-cfg-coverage --html
.cov-html-open
.desc Generates code coverage report in HTML format and opens in browser
.cmd cargo {{TOOLCHAIN}} llvm-cov clean
.cmd cargo {{TOOLCHAIN}} llvm-cov --no-cfg-coverage --html --open
.cov-cw3-flex-multisig
.desc Generates code coverage report for 'cw3-flex-multisig' in text format
.cmd cargo {{TOOLCHAIN}} llvm-cov clean
.cmd cargo {{TOOLCHAIN}} llvm-cov -p cw3-flex-multisig --no-cfg-coverage
.cov-cw3-flex-multisig-html
.desc Generates code coverage report for 'cw3-flex-multisig' in HTML format
.cmd cargo {{TOOLCHAIN}} llvm-cov clean
.cmd cargo {{TOOLCHAIN}} llvm-cov -p cw3-flex-multisig --no-cfg-coverage --html
.cov-cw3-flex-multisig-html-open
.desc Generates code coverage report for 'cw3-flex-multisig' in HTML format and opens in browser
.cmd cargo {{TOOLCHAIN}} llvm-cov clean
.cmd cargo {{TOOLCHAIN}} llvm-cov -p cw3-flex-multisig --no-cfg-coverage --html --open
.doc
.desc Generates documentation
.cmd cargo {{TOOLCHAIN}} doc --no-deps
.doc-open
.desc Generates documentation and opens in browser
.cmd cargo {{TOOLCHAIN}} doc --no-deps --open
.fmt
.desc Runs code formatter
.cmd cargo {{TOOLCHAIN}} fmt
.test
.desc Runs tests in debug mode
.cmd cargo {{TOOLCHAIN}} test
.testn
.desc Runs tests in debug mode using nextest
.cmd cargo {{TOOLCHAIN}} nextest run