All checks were successful
Quality Check / Linting (push) Successful in 6s
Build Application / generate (push) Successful in 22s
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
20 lines
483 B
Makefile
20 lines
483 B
Makefile
_choose:
|
|
just --choose
|
|
|
|
lint:
|
|
-gdlint .
|
|
-gdformat -d .
|
|
|
|
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
|