other: make schema script use same target dir (#2259)

The best way of doing this is probably something like a workspace... but I'm not really in the mood to refactor this into a workspace at the moment, so this will have to do :p
This commit is contained in:
Clement Tsang
2026-09-22 01:52:14 +00:00
committed by GitHub
parent 36ad2cdaee
commit 1426cbbaa0
3 changed files with 2 additions and 1722 deletions
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -6,4 +6,4 @@ cd "$(dirname "$0")";
cd ../..
mkdir -p schema/v$1
cargo run --manifest-path scripts/schema_gen/Cargo.toml -- $1 > schema/v$1/bottom.json
CARGO_TARGET_DIR="./target"cargo run --manifest-path scripts/schema_gen/Cargo.toml -- $1 > schema/v$1/bottom.json
+1 -1
View File
@@ -5,4 +5,4 @@ set -e
cd "$(dirname "$0")";
cd ../..
cargo run --manifest-path scripts/schema_gen/Cargo.toml > schema/nightly/bottom.json
CARGO_TARGET_DIR="./target" cargo run --manifest-path scripts/schema_gen/Cargo.toml > schema/nightly/bottom.json