diff --git a/Makefile b/Makefile index b4e0ed3..c616043 100644 --- a/Makefile +++ b/Makefile @@ -12,12 +12,12 @@ LDFLAGS=\ pomo-build \ readme -default: bin/pomo +default: bin/pomo test clean: [[ -f bin/pomo ]] && rm bin/pomo || true -bin/pomo: test +bin/pomo: cd cmd/pomo && \ go build -ldflags '${LDFLAGS}' -o ../../$@ @@ -25,6 +25,9 @@ test: go test ./... go vet ./... +install: + go install ./cmd/... + docs: www/data/readme.json cd www && hugo -d ../docs