Windows binary-making

This commit is contained in:
Jaidyn Ann 2020-09-19 00:13:37 -05:00
parent 227b231992
commit 25b84c0e7a
4 changed files with 1207 additions and 5 deletions

View File

@ -1,11 +1,26 @@
love: love:
zip -9r bats\&pray.love ./* zip -9r bin/bats\&pray.love ./*
win32: love
ifeq (,$(wildcard bin/love-win32.zip))
wget -O bin/love-win32.zip \
https://github.com/love2d/love/releases/download/11.3/love-11.3-win32.zip
endif
unzip -d bin/ bin/love-win32.zip
mv bin/love-*-win32 bin/bats\&pray-win32
rm bin/bats\&pray-win32/changes.txt
rm bin/bats\&pray-win32/readme.txt
rm bin/bats\&pray-win32/lovec.exe
cat bin/bats\&pray.love >> bin/bats\&pray-win32/love.exe
mv bin/bats\&pray-win32/love.exe bin/bats\&pray-win32/Bats\ \&\ Pray.exe
cp doc/bin-license.txt bin/bats\&pray-win32/license.txt
zip -9jr bin/bats\&pray-win32.zip bin/bats\&pray-win32
rm -rf bin/bats\&pray-win32
test: love test: love
love bats\&pray.love love bin/bats\&pray.love
clean: clean:
rm bats\&pray.love rm -rf ./bin/*
all: love
all: love win32

View File

@ -4,3 +4,9 @@ Tools used:
LOVE2D (engine; ZLIB license) LOVE2D (engine; ZLIB license)
Not much yet. Not much yet.
LICENSING
----------------------------------------
Code under GPLv3 (see COPYING.txt)
Art under varying (see COPYING-ART.txt)

1181
doc/bin-license.txt Normal file

File diff suppressed because it is too large Load Diff