mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2024-11-15 19:04:57 +01:00
Don't delete built binaries
This commit is contained in:
parent
4e45330ad0
commit
6e62e80ea0
2 changed files with 4 additions and 6 deletions
8
Makefile
8
Makefile
|
@ -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
|
||||
|
|
2
main.gd
2
main.gd
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue