update to 1.1, makefile tweak
This commit is contained in:
parent
9258d7f23a
commit
32cb74685f
2 changed files with 5 additions and 5 deletions
6
Makefile
6
Makefile
|
|
@ -1,16 +1,16 @@
|
||||||
.PHONY: copy install
|
.PHONY: copy install
|
||||||
|
|
||||||
v = bzsilicon_$(shell jq -r .version info.json)
|
pwd = $(shell pwd)
|
||||||
|
v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json)
|
||||||
|
|
||||||
copy:
|
copy:
|
||||||
rm -rf ../$(v)
|
rm -rf ../$(v)
|
||||||
mkdir -p ../$(v)
|
mkdir -p ../$(v)
|
||||||
cp -rf * ../$(v)
|
cp -rf * ../$(v)
|
||||||
rm -f ../$(v).zip
|
rm -f ../$(v).zip
|
||||||
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*"
|
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*" -x "*.bak"
|
||||||
|
|
||||||
|
|
||||||
install: copy
|
install: copy
|
||||||
cp -f ../$(v).zip ../../mods/
|
cp -f ../$(v).zip ../../mods/
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"name": "bzsilicon",
|
"name": "bzsilicon",
|
||||||
"version": "0.1.0",
|
"version": "0.2.0",
|
||||||
"factorio_version": "1.0",
|
"factorio_version": "1.1",
|
||||||
"title": "Silica & Silicon",
|
"title": "Silica & Silicon",
|
||||||
"author": "Brevven",
|
"author": "Brevven",
|
||||||
"contact": "",
|
"contact": "",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue