Author: Kevin Schoon [kevinschoon@gmail.com]
Committer: GitHub [noreply@github.com] Mon, 30 May 2022 17:14:33 +0000
Hash: 7d53e79a48358c841c6f6de189d5b7d93b55ddd1
Timestamp: Mon, 30 May 2022 17:14:33 +0000 (2 years ago)

+5 -2 +/-1 browse
Merge pull request #59 from sboysel/feature/makefile-tweaks
Merge pull request #59 from sboysel/feature/makefile-tweaks

Makefile tweaks
1diff --git a/Makefile b/Makefile
2index b4e0ed3..c616043 100644
3--- a/Makefile
4+++ b/Makefile
5 @@ -12,12 +12,12 @@ LDFLAGS=\
6 pomo-build \
7 readme
8
9- default: bin/pomo
10+ default: bin/pomo test
11
12 clean:
13 [[ -f bin/pomo ]] && rm bin/pomo || true
14
15- bin/pomo: test
16+ bin/pomo:
17 cd cmd/pomo && \
18 go build -ldflags '${LDFLAGS}' -o ../../$@
19
20 @@ -25,6 +25,9 @@ test:
21 go test ./...
22 go vet ./...
23
24+ install:
25+ go install ./cmd/...
26+
27 docs: www/data/readme.json
28 cd www && hugo -d ../docs
29