build before running tests
This commit is contained in:
parent
b6910ea72a
commit
5b555f0cee
4
Makefile
4
Makefile
|
@ -12,12 +12,12 @@ LDFLAGS=\
|
||||||
pomo-build \
|
pomo-build \
|
||||||
readme
|
readme
|
||||||
|
|
||||||
default: bin/pomo
|
default: bin/pomo test
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
[[ -f bin/pomo ]] && rm bin/pomo || true
|
[[ -f bin/pomo ]] && rm bin/pomo || true
|
||||||
|
|
||||||
bin/pomo: test
|
bin/pomo:
|
||||||
cd cmd/pomo && \
|
cd cmd/pomo && \
|
||||||
go build -ldflags '${LDFLAGS}' -o ../../$@
|
go build -ldflags '${LDFLAGS}' -o ../../$@
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue