From 96373c6d93f0c310f8b777494c5a40c27fd78a0b Mon Sep 17 00:00:00 2001 From: Florian Fischer Date: Wed, 28 Jan 2026 16:03:16 +0100 Subject: initial commit --- Makefile | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 Makefile (limited to 'Makefile') diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..8947803 --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +SRC=$(wildcard *.py) + +.PHONY: all clean check check-pylint check-format check-mypy +all: build/index.html + +build/index.html: templates/$(wildcard index.*) generate-gallery.py turbowarp-packager-settings.json + ./generate-gallery.py + +clean: + rm -rf build/ + +check: check-pylint check-format check-mypy + +check-pylint: + pylint --rcfile=.pylint.rc -j 0 $(SRC) || ./tools/check-pylint $$? + +check-format: + yapf -d $(SRC) + +check-mypy: + mypy $(SRC) + +format: + yapf -i $(SRC) -- cgit v1.2.3