mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-04-24 01:28:39 +02:00
build(just): update schemagen and add schemapub
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -6,3 +6,6 @@ dummy.go
|
|||||||
komorebic/applications.yaml
|
komorebic/applications.yaml
|
||||||
komorebic/applications.json
|
komorebic/applications.json
|
||||||
/.vs
|
/.vs
|
||||||
|
/bar-schema
|
||||||
|
/komorebi-schema
|
||||||
|
/.wrangler
|
||||||
14
justfile
14
justfile
@@ -84,13 +84,15 @@ jsonschema:
|
|||||||
cargo run --package komorebic -- application-specific-configuration-schema > schema.asc.json
|
cargo run --package komorebic -- application-specific-configuration-schema > schema.asc.json
|
||||||
cargo run --package komorebi-bar -- --schema > schema.bar.json
|
cargo run --package komorebi-bar -- --schema > schema.bar.json
|
||||||
|
|
||||||
# this part is run in a nix shell because python is a nightmare
|
|
||||||
schemagen:
|
schemagen:
|
||||||
rm -rf static-config-docs bar-config-docs
|
mkdir -Force komorebi-schema
|
||||||
mkdir -p static-config-docs bar-config-docs
|
mkdir -Force bar-schema
|
||||||
generate-schema-doc ./schema.json --config template_name=js_offline --config minify=false ./static-config-docs/
|
schemars-docgen .\schema.json -o .\komorebi-schema\schema.html
|
||||||
generate-schema-doc ./schema.bar.json --config template_name=js_offline --config minify=false ./bar-config-docs/
|
schemars-docgen .\schema.bar.json -o .\bar-schema\schema.html
|
||||||
mv ./bar-config-docs/schema.bar.html ./bar-config-docs/schema.html
|
|
||||||
|
schemapub:
|
||||||
|
npx wrangler pages deploy --project-name komorebi .\komorebi-schema
|
||||||
|
npx wrangler pages deploy --project-name komorebi-bar .\bar-schema
|
||||||
|
|
||||||
depgen:
|
depgen:
|
||||||
cargo deny check
|
cargo deny check
|
||||||
|
|||||||
Reference in New Issue
Block a user