File tree Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Expand file tree Collapse file tree 1 file changed +14
-14
lines changed Original file line number Diff line number Diff line change 5
5
alias lint := clippy
6
6
7
7
# Run default recipe
8
- @ _default :
8
+ _ default :
9
9
just -l
10
10
11
11
# Build a package
12
- @ build :
12
+ build :
13
13
cargo build
14
14
15
15
# Remove generated artifacts
16
- @ clean :
16
+ clean :
17
17
cargo clean
18
18
19
19
# Check a package
20
- @ check :
20
+ check :
21
21
cargo check
22
22
23
23
# Run tests
24
- @ test :
24
+ test :
25
25
cargo test
26
26
27
27
# Run benchmarks
28
- @ bench :
28
+ bench :
29
29
cargo + nightly bench
30
30
31
31
# Run the formatter
32
- @ fmt :
32
+ fmt :
33
33
cargo fmt
34
34
35
35
# Run the formatter with options
36
- @ fmt-with-options :
36
+ fmt-with-options :
37
37
cargo + nightly fmt
38
38
39
39
# Run the linter
40
- @ clippy :
40
+ clippy :
41
41
cargo clippy -- -D warnings
42
42
43
43
# Apply lint suggestions
44
- @ clippy-fix :
44
+ clippy-fix :
45
45
cargo + nightly clippy --fix --allow-dirty --allow-staged -- -D warnings
46
46
47
47
# Build the package documentation
48
- @ doc $ RUSTDOCFLAGS = " --cfg docsrs":
48
+ doc $ RUSTDOCFLAGS = " --cfg docsrs":
49
49
cargo + nightly doc --all-features
50
50
51
51
# Run the linter for GitHub Actions workflow files
52
- @ lint-github-actions :
52
+ lint-github-actions :
53
53
actionlint -verbose
54
54
55
55
# Run the formatter for the README
56
- @ fmt-readme :
56
+ fmt-readme :
57
57
npx prettier -w README.md
58
58
59
59
# Increment the version
60
- @ bump part :
60
+ bump part :
61
61
bump-my-version bump {{ part }}
62
62
cargo set-version --bump {{ part }}
You can’t perform that action at this time.
0 commit comments