From 9a26b7abc4a164a5039991eb83eba9c6211ef644 Mon Sep 17 00:00:00 2001 From: Eric Lindvall Date: Sat, 21 Jan 2023 13:38:12 -0800 Subject: [PATCH 1/2] Remove .git directory when finished --- bin/compile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bin/compile b/bin/compile index 7a98a4e..28c60bd 100755 --- a/bin/compile +++ b/bin/compile @@ -57,3 +57,6 @@ echo "-----> Fetched shallow history from $GIT_REPO_URL" git submodule -q update --init --recursive echo "-----> Checked out all submodules" git submodule status | sed 's/^/ * /' + +echo "-----> Removing .git directory" +rm -rf .git \ No newline at end of file From eebc2437aeabe0b0ed26bb046ff1b2710d26575e Mon Sep 17 00:00:00 2001 From: Aman Karmani Date: Sun, 2 Apr 2023 20:44:21 -0700 Subject: [PATCH 2/2] neuter detect --- bin/detect | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/detect b/bin/detect index 12e93bb..569e6f3 100755 --- a/bin/detect +++ b/bin/detect @@ -2,6 +2,7 @@ app_dir="$1" +exit 0 if [ ! -f "$app_dir/.gitmodules" ]; then exit 1 fi