build script
This commit is contained in:
parent
6ed70e4370
commit
7af2c22536
|
@ -0,0 +1,3 @@
|
||||||
|
*.exe
|
||||||
|
*.love
|
||||||
|
build/
|
|
@ -0,0 +1,10 @@
|
||||||
|
[Desktop Entry]
|
||||||
|
Name=ᐊᑯᓕᕕᒃ
|
||||||
|
Comment=Circumpolar Puzzle Game
|
||||||
|
MimeType=application/x-love-game;
|
||||||
|
Exec=ᐊᑯᓕᕕᒃ %f
|
||||||
|
Type=Application
|
||||||
|
Categories=Development;Game;
|
||||||
|
Terminal=false
|
||||||
|
Icon=ᐊᑯᓕᕕᒃ.png
|
||||||
|
NoDisplay=true
|
|
@ -1,5 +1,33 @@
|
||||||
|
rm -r build/win/
|
||||||
|
rm -r build/out/
|
||||||
|
rm -r build/linux/
|
||||||
|
rm -r build/macos/
|
||||||
|
|
||||||
|
mkdir -p build/
|
||||||
|
mkdir -p build/out/
|
||||||
cd src
|
cd src
|
||||||
zip -9 -r "../ᐊᑯᓕᕕᒃ.love" .
|
zip -9 -r "../build/out/AKULIVIK.love" .
|
||||||
cd ..
|
cd ../build/
|
||||||
#windows
|
|
||||||
cat "/home/frc/Bureau/frc/dev/love/love-11.5-win64/love.exe" "ᐊᑯᓕᕕᒃ.love" > ᐊᑯᓕᕕᒃ.exe
|
echo WINDOWS
|
||||||
|
mkdir -p win/
|
||||||
|
cp -r "/home/frc/Bureau/frc/dev/love/love-11.5-win64/" win/
|
||||||
|
cat licence.txt win/license.txt > win/license.txt
|
||||||
|
cat "win/love.exe" "out/AKULIVIK.love" > win/ᐊᑯᓕᕕᒃ.exe
|
||||||
|
rm win/love.exe
|
||||||
|
zip -9 -r "out/ᐊᑯᓕᕕᒃ-win.zip" win/
|
||||||
|
|
||||||
|
echo LINUX
|
||||||
|
mkdir -p linux/
|
||||||
|
cp -r /home/frc/Bureau/frc/dev/love/linux/ .
|
||||||
|
cat "linux/bin/love" "out/AKULIVIK.love" > "linux/bin/AKULIVIK"
|
||||||
|
chmod +x linux/bin/AKULIVIK
|
||||||
|
rm linux/bin/love
|
||||||
|
rm linux/love.svg
|
||||||
|
cp AKULIVIK.desktop linux/love.desktop
|
||||||
|
cp favicon.png linux/AKULIVIK.png
|
||||||
|
cat licence.txt linux/license.txt > linux/license.txt
|
||||||
|
cp AppRun linux/AppRun
|
||||||
|
/home/frc/Bureau/frc/dev/love/appimagetool-x86_64.AppImage linux/ out/AKULIVIK.AppImage
|
||||||
|
|
||||||
|
echo MACOS
|
|
@ -1,3 +0,0 @@
|
||||||
Assets:
|
|
||||||
Johann Wilhelm Weis-Cuiller, photo par Ji-Elle sur Wikipedia: https://commons.wikimedia.org/wiki/File:Johann_Wilhelm_Weis-Cuiller.jpg licenced under CC-BY-SA 4.0: https://creativecommons.org/licenses/by-sa/4.0/
|
|
||||||
Coffee spoon MET 17847.jpg, CC0 https://commons.wikimedia.org/wiki/File:Coffee_spoon_MET_17847.jpg
|
|
Binary file not shown.
After Width: | Height: | Size: 194 KiB |
Binary file not shown.
After Width: | Height: | Size: 192 KiB |
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
Binary file not shown.
After Width: | Height: | Size: 175 KiB |
Binary file not shown.
After Width: | Height: | Size: 183 KiB |
Binary file not shown.
After Width: | Height: | Size: 182 KiB |
Loading…
Reference in New Issue