Commit
+5 -2 +/-1 browse
1 | diff --git a/Makefile b/Makefile |
2 | index 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 |