mirror of
https://github.com/deunix-educ/aventuriers-des-mots.git
synced 2026-10-13 02:11:58 +02:00
57182172a9
Re-read the specification (§12, §13, §15) before producing the game: Linux and Windows are the target platforms for this version. Embed the PCK for one executable per platform, add config/version, and add `make package` which re-exports from scratch and builds dist/*.tar.gz, dist/*.zip and SHA256SUMS (executable + LICENSE + READMEs + CREDITS + a short notice). READMEs updated to the real status. Known gaps against the spec are listed in decisions.md. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
48 lines
1.1 KiB
Makefile
48 lines
1.1 KiB
Makefile
GODOT_BIN := .godot-bin/godot
|
|
VENV := .venv
|
|
GDLINT := $(VENV)/bin/gdlint
|
|
GDFORMAT := $(VENV)/bin/gdformat
|
|
PYRIGHT := $(VENV)/bin/pyright
|
|
PYTHON := $(VENV)/bin/python3
|
|
GD_SOURCES := autoload scripts tests
|
|
|
|
.PHONY: setup run lint format validate-data test check content-review generate-dictation-audio export-linux export-windows package
|
|
|
|
setup:
|
|
tools/setup.sh
|
|
|
|
run:
|
|
$(GODOT_BIN) --path .
|
|
|
|
lint:
|
|
$(GDLINT) $(GD_SOURCES)
|
|
$(PYRIGHT) tools/
|
|
|
|
format:
|
|
$(GDFORMAT) $(GD_SOURCES)
|
|
|
|
validate-data:
|
|
$(GODOT_BIN) --headless --path . -s res://scripts/data/validate_data_cli.gd
|
|
|
|
test:
|
|
$(GODOT_BIN) --headless --path . -s res://addons/gut/gut_cmdln.gd -gdir=res://tests -ginclude_subdirs -gexit
|
|
|
|
check: lint validate-data test
|
|
|
|
content-review:
|
|
$(PYTHON) tools/generate_content_review.py
|
|
|
|
generate-dictation-audio:
|
|
$(PYTHON) tools/generate_dictation_audio.py
|
|
|
|
export-linux:
|
|
mkdir -p build/linux
|
|
$(GODOT_BIN) --headless --path . --export-release "Linux" build/linux/aventuriers_des_mots.x86_64
|
|
|
|
export-windows:
|
|
mkdir -p build/windows
|
|
$(GODOT_BIN) --headless --path . --export-release "Windows" build/windows/aventuriers_des_mots.exe
|
|
|
|
package:
|
|
tools/package.sh
|