From 34e86e415826b0eae03f4a3bc9b112596d2a1bc4 Mon Sep 17 00:00:00 2001 From: Alan Morgan Date: Sun, 8 Dec 2019 11:14:34 -0700 Subject: [PATCH] Install is more straigtforward. No need for the install script too. That would be part of package manager configuration. --- README.md | 5 ++--- install.sh | 6 ------ 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100755 install.sh diff --git a/README.md b/README.md index 9e53421..3ee554c 100644 --- a/README.md +++ b/README.md @@ -9,9 +9,8 @@ flashcards! ## Install Install like any other go application. ``` bash -go get github.com/alanxoc3/concards; -cd $GOPATH/src/github.com/alanxoc3/concards; -go build; # Or `./install.sh` +go install github.com/alanxoc3/concards +~/$GOPATH/bin/concards --help ``` ## Features diff --git a/install.sh b/install.sh deleted file mode 100755 index 36e880e..0000000 --- a/install.sh +++ /dev/null @@ -1,6 +0,0 @@ -#!/bin/bash - -echo "Building program..." -go build -echo "Copying to /usr/local/bin/concards, needs root." -sudo cp concards /usr/local/bin/concards;