Don't delete built binaries

This commit is contained in:
Sebastian Morr 2020-03-18 20:32:49 +01:00
parent 4e45330ad0
commit 6e62e80ea0
2 changed files with 4 additions and 6 deletions

View file

@ -1,4 +1,4 @@
name = "untitled-game"
name = "git-hydra"
all: linux macos windows web
@ -6,7 +6,7 @@ linux:
mkdir -p /tmp/$(name)-linux
/usr/bin/godot --export "Linux" "/tmp/$(name)-linux/$(name)"
zip -r /tmp/$(name)-linux.zip /tmp/$(name)-linux
rm -r /tmp/$(name)-linux
#rm -r /tmp/$(name)-linux
macos:
/usr/bin/godot --export "Mac OS" "/tmp/$(name)-macos.app"
@ -16,10 +16,10 @@ 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
rm -r /tmp/$(name)-windows
#rm -r /tmp/$(name)-windows
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
rm -r /tmp/$(name)-web
#rm -r /tmp/$(name)-web

View file

@ -98,8 +98,6 @@ func apply_forces():
func git(args, splitlines = false):
var output = []
var a = args.split(" ")
a.insert(0, "-C")
a.insert(1, "/home/seb/tmp/godotgit")
#print ("Running: ", a)
OS.execute("git", a, true, output, true)
var o = output[0]