build before running tests

master
Sam Boysel 2 years ago
parent b6910ea72a
commit 5b555f0cee

@ -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 ../../$@

Loading…
Cancel
Save