Skip to content

Commit

Permalink
Update build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
giulianopz committed May 21, 2024
1 parent 6ad5b18 commit 7dc2683
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ Supported key bindings:
Build from source:
```bash
:~$ git clone https://github.com/giulianopz/newscanoe.git
:~$ go build -o newscanoe cmd/newscanoe/main.go && cp ./newscanoe /usr/local/bin
:~$ cd newscanoe
:~/newscanoe$ go generate ./... && go build
:~/newscanoe$ cp ./newscanoe /usr/local/bin
```

Or download the latest pre-compiled binary from [GitHub](https://github.com/giulianopz/newscanoe/releases) and then install it into your PATH.
Expand Down
4 changes: 2 additions & 2 deletions Taskfile.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ tasks:
build:
cmds:
- go generate ./...
- go build -o newscanoe --ldflags="-X 'github.com/giulianopz/newscanoe/internal/app.Version=$(git describe --tags $(git rev-list --tags --max-count=1))'" .

#- go build -o newscanoe --ldflags="-X 'github.com/giulianopz/newscanoe/internal/app.Version=$(git describe --tags $(git rev-list --tags --max-count=1))'" .
- go build
lint:
cmds:
- golangci-lint -v run
Expand Down

0 comments on commit 7dc2683

Please sign in to comment.