Merge pull request #59 from sboysel/feature/makefile-tweaks

Makefile tweaks
master
Kevin Schoon 2 years ago committed by GitHub
commit 7d53e79a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save