Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion apps/hash-graph/docs/task-dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@
},
"compile": {
"dependsOn": [],
"cache": false,
"env": [
"CARGO_PROFILE_*",
"RUNNER_ARCH",
"RUNNER_OS",
"RUSTFLAGS"
],
"affectedBy": [
"darwin-kperf-codegen",
"error-stack-macros"
Expand Down
9 changes: 8 additions & 1 deletion apps/hash-graph/turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,14 @@
]
},
"compile": {
"command": ["cargo", "build", "--bin", "hash-graph", "--all-features"]
"command": ["cargo", "build", "--bin", "hash-graph", "--all-features"],
"cache": true,
// The root manifest carries the profiles and the workspace dependency versions.
"inputs": ["$TURBO_DEFAULT$", "$TURBO_ROOT$/Cargo.toml"],
"outputs": ["$TURBO_ROOT$/target/debug/hash-graph"],
// Turbo does not hash the platform, so a binary restored from the remote cache
// could otherwise come from another OS or architecture.
"env": ["CARGO_PROFILE_*", "RUSTFLAGS", "RUNNER_ARCH", "RUNNER_OS"]
},
"compile:release": {
"command": [
Expand Down
Loading