From e58a277d3c0474c63df938ab4750e9f23b279a0b Mon Sep 17 00:00:00 2001 From: Eric Hu Date: Tue, 31 Jul 2018 08:43:42 +0700 Subject: [PATCH] Update README.md: add instructions for cleaning up development install (#30) --- CONTRIBUTING.md | 12 ++++++++++++ Makefile | 2 +- README.md | 4 ++-- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 581123228..e9d5f2112 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -40,6 +40,18 @@ $ make $ make test ``` +### 4. Cleaning up installed binary + +If you ran `go install` at some point, you will have a development version of `circleci-cli` lingering around. You should clean this up with `make clean`. + +```bash +$ which circleci-cli +/Users/erichu/go/bin/circleci-cli +$ make clean +$ which circleci-cli +$ +``` + ## Managing Dependencies We use `dep` for vendoring our depencencies: diff --git a/Makefile b/Makefile index cb79925b3..b0b962c1c 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ build/%/amd64/circleci: always .PHONY: clean clean: - go clean + go clean -i rm -rf build .PHONY: test diff --git a/README.md b/README.md index f0259174f..1954fed0c 100644 --- a/README.md +++ b/README.md @@ -20,9 +20,9 @@ $ circleci help You may first need to generate a CircleCI API Token from the [Personal API Token tab](https://circleci.com/account/api). ``` -$ circleci configure +$ circleci configure ``` - + If you are using this tool on `.com`. accept the provided default `CircleCI API End Point`. If you are using it on Server, change the value to your Server address (i.e. `circleci.my-org.com`).