mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-10-25 08:11:02 +00:00
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
10 lines
187 B
Bash
Executable File
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
|