mirror of
https://git.dirksys.ovh/dirk/bankserver.git
synced 2025-12-19 18:49:20 +01:00
21 lines
379 B
Makefile
21 lines
379 B
Makefile
[private]
|
|
default:
|
|
just --list
|
|
|
|
dev:
|
|
just openapi
|
|
cargo run --bin bankserver
|
|
|
|
openapi:
|
|
yq eval-all -n 'load("openapi-def.yaml") *n load("schemas/schemas.json")' > openapi-temp.yaml
|
|
redocly bundle openapi-temp.yaml -o openapi.json
|
|
rm openapi-temp.yaml
|
|
|
|
schemas:
|
|
touch openapi.json
|
|
cargo run --bin generate-schemas
|
|
|
|
test:
|
|
tree .
|
|
tests/ci.sh
|