server/justfile
GHOSCHT 9518793982
Simplify repo init with just
initialization can now simply performed with "just" or "just init"
2024-05-30 18:15:52 +02:00

17 lines
391 B
Makefile

#Generate OpenAPI types
openapi:
openapi-generator-cli generate -i ./openapi/api/server.yaml -g rust-axum -o ./openapi/module
#Add OpenAPI submodule
submodule-init:
git submodule update --init --recursive
#Update OpenAPI contract
submodule-update:
git submodule update --remote
#Add OpenAPI submodule & generate OpenAPI types
init:
submodule-init openapi
alias default := init