Client/Justfile
Snoweuph 31075ba2b5
All checks were successful
Quality Check / Linting (push) Successful in 6s
Build Application / generate (push) Successful in 21s
Build Application / build (tower_defence_web, build/*, build, build/index.html, Web) (push) Successful in 16s
Build Application / build (tower_defence.elf, tower_defence.elf, tower_defence.elf, Linux) (push) Successful in 19s
Build Application / build (tower_defence.exe, tower_defence.exe, tower_defence.exe, Windows) (push) Successful in 21s
Build Application / build-docker (push) Successful in 16s
Build Application / release (push) Successful in 9s
Chore: Bump to newest API version
2025-03-13 04:22:29 +01:00

20 lines
480 B
Makefile

_choose:
just --choose
lint:
-gdlint .
-gdformat .
api_version := "v0.0.0-rc.8"
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