From 214bdf2082a2459d64a70f7bd1e946753d9c30c8 Mon Sep 17 00:00:00 2001 From: Brevven Date: Fri, 12 Mar 2021 00:18:16 -0800 Subject: [PATCH] add lint to makefile --- Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 627c0e5..1e95244 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ # install` from dev/ to install the mod as a zip file. That zip file # should also be ready to upload to the mod portal -.PHONY: copy install +.PHONY: copy lint-changelog install pwd = $(shell pwd) v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json) @@ -18,7 +18,13 @@ copy: rm -f ../$(v).zip cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*" -x "*.bak" - -install: copy +install: lint-changelog copy cp -f ../$(v).zip ../../mods/ + +lint-changelog: copy + python3 ../da-changelog-tools_0.0.14/changelog-checker.py --changelog ../$(v).zip + +zorro: + python3 ../da-changelog-tools_0.0.14/changelog-checker.py --zorro --changelog ../$(v).zip +