2020-03-18 22:32:49 +03:00
|
|
|
name = "git-hydra"
|
2020-01-29 22:25:13 +03:00
|
|
|
|
|
|
|
all: linux macos windows web
|
|
|
|
|
|
|
|
linux:
|
|
|
|
mkdir -p /tmp/$(name)-linux
|
|
|
|
/usr/bin/godot --export "Linux" "/tmp/$(name)-linux/$(name)"
|
|
|
|
zip -r /tmp/$(name)-linux.zip /tmp/$(name)-linux
|
2020-03-18 22:32:49 +03:00
|
|
|
#rm -r /tmp/$(name)-linux
|
2020-01-29 22:25:13 +03:00
|
|
|
|
|
|
|
macos:
|
|
|
|
/usr/bin/godot --export "Mac OS" "/tmp/$(name)-macos.app"
|
|
|
|
mv "/tmp/$(name)-macos.app" "/tmp/$(name)-macos.zip"
|
|
|
|
|
|
|
|
windows:
|
|
|
|
mkdir -p /tmp/$(name)-windows
|
|
|
|
/usr/bin/godot --export "Windows" "/tmp/$(name)-windows/$(name).exe"
|
|
|
|
zip -r /tmp/$(name)-windows.zip /tmp/$(name)-windows
|
2020-03-18 22:32:49 +03:00
|
|
|
#rm -r /tmp/$(name)-windows
|
2020-01-29 22:25:13 +03:00
|
|
|
|
|
|
|
web:
|
|
|
|
mkdir -p /tmp/$(name)-web
|
|
|
|
/usr/bin/godot --export "HTML5" "/tmp/$(name)-web/index.html"
|
|
|
|
zip -r /tmp/$(name)-web.zip /tmp/$(name)-web
|
2020-03-18 22:32:49 +03:00
|
|
|
#rm -r /tmp/$(name)-web
|