File tree 3 files changed +13
-16
lines changed 3 files changed +13
-16
lines changed Original file line number Diff line number Diff line change 1
- //! ```cargo
2
- //! [dependencies]
3
- //! serde = {version = "*", features = ["derive"]}
4
- //! toml = {version = "*", features = ["parse"]}
5
- //! ```
1
+ #!/usr/bin/env -S cargo +nightly -Zscript
2
+ ```cargo
3
+ [ dependencies]
4
+ serde = { version = "*" , features = [ "derive" ] }
5
+ toml = { version = "*" , features = [ "parse" ] }
6
+ ```
6
7
7
8
#![ allow( non_snake_case) ]
8
9
Original file line number Diff line number Diff line change @@ -110,10 +110,6 @@ install-cargo-hack:
110
110
install-cargo-nextest :
111
111
@ just install-cargo-tool ' cargo nextest' cargo-nextest 0.9.37
112
112
113
- [private ]
114
- install-rust-script :
115
- @ just install-cargo-tool ' rust-script' rust-script 0.23.0
116
-
117
113
[private ]
118
114
install-llvm-cov :
119
115
@ just install-cargo-tool ' cargo llvm-cov' cargo-llvm-cov 0.5.9
@@ -131,7 +127,7 @@ install-cargo-insta:
131
127
[private ]
132
128
[no-cd ]
133
129
lint-toml mode :
134
- @ rust-script " {{ repo}} /.github/scripts/rust/lint.rs" {{ mode}} ` cargo metadata --no-deps --format-version 1 | jq ' .workspace_root' -r `
130
+ @ cargo run --manifest-path " {{ repo}} /.github/scripts/rust/lint.rs" {{ mode}} ` cargo metadata --no-deps --format-version 1 | jq ' .workspace_root' -r `
135
131
136
132
# Runs all linting commands and fails if the CI would fail
137
133
[no-cd ]
You can’t perform that action at this time.
0 commit comments