add Makefile with packaging targets

This commit is contained in:
Drew Weymouth
2023-03-05 10:04:09 -08:00
parent fbf68dff08
commit 0b78becd90
+12
View File
@@ -0,0 +1,12 @@
icon_path = ./res/appicon-500.png
build:
go build
package_macos:
fyne package -os darwin -icon $(icon_path)
mv ./supersonic.app Supersonic.app
dylibbundler -od -b -x ./Supersonic.app/Contents/MacOS/supersonic -d ./Supersonic.app/Contents/Frameworks/ -p @executable_path/../Frameworks/
package_windows:
fyne package -os windows -icon $(icon_path)