bottom/scripts/schema/generate.sh
Clement Tsang 24cb8a417c
refactor: move schema generation to its own binary, go back to lib-bin (#1630)
* refactor: separate schema generation to its own binary, go back to lib-bin setup

Decided it might be nicer to separate the schema generation bit to its
own binary. This does mean that we have to go back to the lib-bin
system, as otherwise passing shared code is _really_ hard.

* handle versioning

* run fmt
2024-11-28 08:05:25 +00:00

9 lines
140 B
Bash
Executable File

#!/bin/bash
set -e
cd "$(dirname "$0")";
cd ../..
cargo run --bin schema --features="generate_schema" -- $1 > schema/nightly/bottom.json