Skip to content

Commit 3caf466

Browse files
chore: dogfood $TURBO_ROOT$ (#10168)
### Description Dogfood the new `$TURBO_ROOT$` feature as there were a few places we were depending on `../` ### Testing Instructions CI
1 parent 4370322 commit 3caf466

File tree

2 files changed

+11
-11
lines changed

2 files changed

+11
-11
lines changed

cli/turbo.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -10,21 +10,21 @@
1010
"RUNNER_OS"
1111
],
1212
"inputs": [
13-
"../version.txt",
14-
"../crates/**/*.rs",
13+
"$TURBO_ROOT$/version.txt",
14+
"$TURBO_ROOT$/crates/**/*.rs",
1515
// Rust crates
16-
"../crates/*/Cargo.toml",
17-
"../Cargo.toml",
18-
"../Cargo.lock",
19-
"!../crates/**/target"
16+
"$TURBO_ROOT$/crates/*/Cargo.toml",
17+
"$TURBO_ROOT$/Cargo.toml",
18+
"$TURBO_ROOT$/Cargo.lock",
19+
"!$TURBO_ROOT$/crates/**/target"
2020
]
2121
},
2222
"build": {
2323
"outputs": [
24-
"../target/debug/turbo",
25-
"../target/debug/turbo.exe",
26-
"../target/release/turbo",
27-
"../target/release/turbo.exe"
24+
"$TURBO_ROOT$/target/debug/turbo",
25+
"$TURBO_ROOT$/target/debug/turbo.exe",
26+
"$TURBO_ROOT$/target/release/turbo",
27+
"$TURBO_ROOT$/target/release/turbo.exe"
2828
],
2929
"dependsOn": [
3030
"rust-src"

packages/turbo-types/turbo.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
},
1111
"copy-schema": {
1212
"dependsOn": ["build"],
13-
"outputs": ["../turbo/schema.json"]
13+
"outputs": ["$TURBO_ROOT$/packages/turbo/schema.json"]
1414
}
1515
}
1616
}

0 commit comments

Comments
 (0)