diff --git a/README.md b/README.md index 9cbda2a..19aa072 100644 --- a/README.md +++ b/README.md @@ -115,33 +115,14 @@ and the output is... # Installation Steps -To build the binaries by yourself, assuming that you have Go installed, you need [GoReleaser](https://goreleaser.com/intro/). - -Here the steps: - -### Grab the source code - -```bash -git clone https://github.com/lucasepe/crumbs.git -``` - -### Change dir to the tool folder - -```bash -cd crumbs/crumbs -``` - -### Run GoReleaser +In order to use the crumbs command, compile it using the following command: ```bash -goreleaser --rm-dist --snapshot --skip-publish +go get -u github.com/lucasepe/crumbs/crumbs ``` -you will found the binaries for: +This will create the crumbs executable under your $GOPATH/bin directory. -- MacOS into the folder _dist/crumbs_darwin_amd64/_ -- Linux into the folder _dist/crumbs_linux_amd64/_ -- Windows into the folder _dist/crumbs_windows_amd64/_ ## Ready-To-Use Releases diff --git a/crumbs/main.go b/crumbs/main.go index 02717e6..04c8ffb 100644 --- a/crumbs/main.go +++ b/crumbs/main.go @@ -29,8 +29,7 @@ Crafted with passion by Luca Sepe - https://github.com/lucasepe/crumbs` ) var ( - version = "dev" - commit = "none" + version = "0.2.0" flagVertical bool flagWrapLim uint