From 6e62e80ea0362c6332087bae70841f7ae5ed7a26 Mon Sep 17 00:00:00 2001 From: Sebastian Morr Date: Wed, 18 Mar 2020 20:32:49 +0100 Subject: [PATCH] Don't delete built binaries --- Makefile | 8 ++++---- main.gd | 2 -- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/Makefile b/Makefile index 5aaf222..215405d 100644 --- a/Makefile +++ b/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 diff --git a/main.gd b/main.gd index 2c5ff6e..3071104 100644 --- a/main.gd +++ b/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]