add lint to makefile
This commit is contained in:
parent
673381b08a
commit
214bdf2082
1 changed files with 9 additions and 3 deletions
12
Makefile
12
Makefile
|
|
@ -6,7 +6,7 @@
|
||||||
# install` from dev/<modname> to install the mod as a zip file. That zip file
|
# install` from dev/<modname> to install the mod as a zip file. That zip file
|
||||||
# should also be ready to upload to the mod portal
|
# should also be ready to upload to the mod portal
|
||||||
|
|
||||||
.PHONY: copy install
|
.PHONY: copy lint-changelog install
|
||||||
|
|
||||||
pwd = $(shell pwd)
|
pwd = $(shell pwd)
|
||||||
v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json)
|
v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json)
|
||||||
|
|
@ -18,7 +18,13 @@ copy:
|
||||||
rm -f ../$(v).zip
|
rm -f ../$(v).zip
|
||||||
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*" -x "*.bak"
|
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*" -x "*.bak"
|
||||||
|
|
||||||
|
install: lint-changelog copy
|
||||||
install: copy
|
|
||||||
cp -f ../$(v).zip ../../mods/
|
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
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue