From 1650f26ef93a17b048759a58cc703125f49a34f5 Mon Sep 17 00:00:00 2001 From: surdeus Date: Wed, 14 Jun 2023 20:02:06 +0300 Subject: [PATCH] The goblin must be easily installable without itself. --- .gitignore | 1 + install.sh | 3 ++- src/cmd/goblin/main.go => main.go | 0 3 files changed, 3 insertions(+), 1 deletion(-) rename src/cmd/goblin/main.go => main.go (100%) diff --git a/.gitignore b/.gitignore index 36b8513..7153307 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ exe/ +*.exe *.swp diff --git a/install.sh b/install.sh index 81f48db..53c5d68 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,8 @@ wd=`pwd` -cd $wd/src/cmd/goblin && go install && cd $wd +# cd $wd/src/cmd/goblin && go install && cd $wd +go install mkdir -p $HOME/app/goblin cp -rf $wd/app/* $HOME/app/goblin diff --git a/src/cmd/goblin/main.go b/main.go similarity index 100% rename from src/cmd/goblin/main.go rename to main.go