Restructure repository
3
.editorconfig
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
[*]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
41
Makefile
|
@ -1,41 +0,0 @@
|
||||||
# General makefile for factorio mods.
|
|
||||||
#
|
|
||||||
# Presumes the development work is done in a <factoriodir>/dev/<modname>/
|
|
||||||
# directory where this makefile resides. This directory must be parallel to
|
|
||||||
# the <factoriodir>/mods/ directory where mods are installed. Run `make
|
|
||||||
# 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
|
|
||||||
|
|
||||||
.PHONY: copy lint-changelog install
|
|
||||||
|
|
||||||
libdir = "../bzlib"
|
|
||||||
libfiles = $(shell ls $(libdir)/*.lua | grep -o '[^/]*.lua')
|
|
||||||
pwd = $(shell pwd)
|
|
||||||
v = $(shell basename "$(pwd)")_$(shell jq -r .version info.json)
|
|
||||||
|
|
||||||
link:
|
|
||||||
for f in $(libfiles) ; do \
|
|
||||||
echo "using $(libdir)/$$f" ;\
|
|
||||||
cp $(libdir)/$$f .; \
|
|
||||||
done;
|
|
||||||
|
|
||||||
copy: link
|
|
||||||
rm -rf ../$(v)
|
|
||||||
mkdir -p ../$(v)
|
|
||||||
cp -rf * ../$(v)
|
|
||||||
rm -f ../$(v).zip
|
|
||||||
cd ..; zip -9 -r -y $(v).zip $(v) -x "*.xcf" -x "*.git*" -x "*.bak" -x "*.blend*"
|
|
||||||
|
|
||||||
install: lint-changelog copy
|
|
||||||
cp -f ../$(v).zip ../../mods/
|
|
||||||
# Next 3 lines are dev only (uncomment zip lines and comment these)
|
|
||||||
#rm -rf ../../mods/$(v)
|
|
||||||
#mkdir ../../mods/$(v)
|
|
||||||
#cp -r * ../../mods/$(v)
|
|
||||||
|
|
||||||
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
|
|
||||||
|
|
Before Width: | Height: | Size: 2 MiB After Width: | Height: | Size: 2 MiB |
Before Width: | Height: | Size: 1.9 MiB After Width: | Height: | Size: 1.9 MiB |
Before Width: | Height: | Size: 812 B After Width: | Height: | Size: 812 B |
Before Width: | Height: | Size: 711 B After Width: | Height: | Size: 711 B |
Before Width: | Height: | Size: 572 B After Width: | Height: | Size: 572 B |
Before Width: | Height: | Size: 627 B After Width: | Height: | Size: 627 B |
Before Width: | Height: | Size: 239 B After Width: | Height: | Size: 239 B |
Before Width: | Height: | Size: 215 B After Width: | Height: | Size: 215 B |
Before Width: | Height: | Size: 202 B After Width: | Height: | Size: 202 B |
Before Width: | Height: | Size: 203 B After Width: | Height: | Size: 203 B |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 31 KiB After Width: | Height: | Size: 31 KiB |
Before Width: | Height: | Size: 7.2 KiB After Width: | Height: | Size: 7.2 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 13 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
Before Width: | Height: | Size: 25 KiB After Width: | Height: | Size: 25 KiB |
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 14 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 27 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 39 KiB After Width: | Height: | Size: 39 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
Before Width: | Height: | Size: 5.1 KiB After Width: | Height: | Size: 5.1 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 41 KiB After Width: | Height: | Size: 41 KiB |
Before Width: | Height: | Size: 26 KiB After Width: | Height: | Size: 26 KiB |
Before Width: | Height: | Size: 21 KiB After Width: | Height: | Size: 21 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 47 KiB After Width: | Height: | Size: 47 KiB |
Before Width: | Height: | Size: 91 KiB After Width: | Height: | Size: 91 KiB |
Before Width: | Height: | Size: 90 KiB After Width: | Height: | Size: 90 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 370 B |
Before Width: | Height: | Size: 342 B |
Before Width: | Height: | Size: 310 B |
Before Width: | Height: | Size: 299 B |
Before Width: | Height: | Size: 148 B |