chore(core): update inputs for rust tasks (#31184)
- Adds `native` inputs to rust tasks - Adds `rustc --version` runtime input to `native` named input
This commit is contained in:
parent
4d3fea7f9d
commit
3873fee587
3
nx.json
3
nx.json
@ -24,6 +24,9 @@
|
||||
{
|
||||
"runtime": "node -p '`${process.platform}_${process.arch}`'"
|
||||
},
|
||||
{
|
||||
"runtime": "rustc --version"
|
||||
},
|
||||
{
|
||||
"externalDependencies": ["npm:@monodon/rust", "npm:@napi-rs/cli"]
|
||||
}
|
||||
|
||||
@ -143,6 +143,7 @@
|
||||
"format-native": {
|
||||
"command": "cargo fmt",
|
||||
"cache": true,
|
||||
"inputs": ["native"],
|
||||
"options": {
|
||||
"cwd": "{projectRoot}/src/native",
|
||||
"args": ["--all", "--check"]
|
||||
@ -156,6 +157,7 @@
|
||||
"lint-native": {
|
||||
"command": "cargo clippy",
|
||||
"cache": true,
|
||||
"inputs": ["native"],
|
||||
"options": {
|
||||
"cwd": "{projectRoot}/src/native",
|
||||
"args": ["--frozen"]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user