Files
bottom/scripts/schema/generate.sh
T
Clement Tsang 1426cbbaa0 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
2026-09-22 01:52:14 +00:00

10 lines
187 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")";
cd ../..
mkdir -p schema/v$1
CARGO_TARGET_DIR="./target"cargo run --manifest-path scripts/schema_gen/Cargo.toml -- $1 > schema/v$1/bottom.json