Client/Justfile
Kevin Schmidt e6c1d4bf04
All checks were successful
Quality Check / Linting (push) Successful in 6s
Quality Check / Linting (pull_request) Successful in 7s
TD-11: Placement of Towers
2025-03-10 13:25:09 +01:00

20 lines
480 B
Makefile

_choose:
just --choose
lint:
-gdlint .
-gdformat .
api_version := "v0.0.0-rc.4"
api_location := "scripts/api-client"
generate:
#!/bin/sh
API_URL="https://git.euph.dev/TowerDefence/Server/releases/download/{{ api_version }}/api.yml"
rm -rf {{ api_location }}
mkdir -p {{ api_location }}
npx --yes @openapitools/openapi-generator-cli \
generate \
-g gdscript \
-i "$API_URL" \
-o {{ api_location }} \
-t .api-template