mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-09-27 13:05:44 +00:00
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:
File diff suppressed because it is too large
Load Diff
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user