Skip to content

Commit 7dc2683

Browse files
committed
Update build instructions
1 parent 6ad5b18 commit 7dc2683

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,9 @@ Supported key bindings:
3535
Build from source:
3636
```bash
3737
:~$ git clone https://github.com/giulianopz/newscanoe.git
38-
:~$ go build -o newscanoe cmd/newscanoe/main.go && cp ./newscanoe /usr/local/bin
38+
:~$ cd newscanoe
39+
:~/newscanoe$ go generate ./... && go build
40+
:~/newscanoe$ cp ./newscanoe /usr/local/bin
3941
```
4042

4143
Or download the latest pre-compiled binary from [GitHub](https://github.com/giulianopz/newscanoe/releases) and then install it into your PATH.

Taskfile.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ tasks:
88
build:
99
cmds:
1010
- go generate ./...
11-
- go build -o newscanoe --ldflags="-X 'github.com/giulianopz/newscanoe/internal/app.Version=$(git describe --tags $(git rev-list --tags --max-count=1))'" .
12-
11+
#- go build -o newscanoe --ldflags="-X 'github.com/giulianopz/newscanoe/internal/app.Version=$(git describe --tags $(git rev-list --tags --max-count=1))'" .
12+
- go build
1313
lint:
1414
cmds:
1515
- golangci-lint -v run

0 commit comments

Comments
 (0)