This commit is contained in:
Sobottasgithub
2026-01-09 23:15:03 +01:00
commit 509adad1d6
7 changed files with 206 additions and 0 deletions

12
GNUmakefile Normal file
View File

@@ -0,0 +1,12 @@
JAVA_FMT = google-java-format
JAVA_FILES = $(shell find . -name '*.java')
XML_FMT = xmlindent
XML_FILES = $(shell find . -name '*.xml')
.PHONY: fmt
fmt:
@echo "Formatting all Java files..."
@for f in $(JAVA_FILES); do \
echo " $$f"; \
$(JAVA_FMT) -i $$f; \
done