Skip to content

Commit

Permalink
Make go get work
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasepe committed Sep 9, 2020
1 parent 6aebbb4 commit 9c99746
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 24 deletions.
25 changes: 3 additions & 22 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions crumbs/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9c99746

Please sign in to comment.