mirror of
https://github.com/ClementTsang/bottom.git
synced 2026-11-22 21:57:17 +00:00
10 lines
186 B
Bash
Executable File
10 lines
186 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
|