summaryrefslogtreecommitdiff
path: root/build.sh
blob: ab3bccd3b9c51cd3709e286b98cba73db123f531 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/sh
mkdir -p build/r6p
cd build
if ! test -d love-11.5-win64; then
    curl https://release-assets.githubusercontent.com/github-production-release-asset/188601229/813babce-2283-4520-ad31-77c175dfb6a7 -o love-11.5-win64.zip
    unzip love-11.5-win64.zip
fi
cd ..
zip -9 -r build/r6p.love $(git ls-files)
cd build/r6p
cp ../love-11.5-win64/* .
cat love.exe ../r6p.love > r6p.exe
rm love.exe
cd ..
zip -9 -r r6p.zip r6p