Author: Kevin Schoon [kevinschoon@gmail.com]
Hash: fb3e9d3184d2315458e0f2a63af0dbb0421ea9dc
Timestamp: Thu, 29 Jul 2021 01:36:33 +0000 (3 years ago)

+1 -7 +/-1 browse
update Makefile
1diff --git a/Makefile b/Makefile
2index 66c420b..f90b2d6 100644
3--- a/Makefile
4+++ b/Makefile
5 @@ -1,13 +1,10 @@
6- DOCKER_CMD=docker run --rm -ti -w /build/pomo -v $$PWD:/build/pomo
7- DOCKER_IMAGE=pomo-build
8-
9 VERSION ?= $(shell git describe --tags 2>/dev/null)
10 ifeq "$(VERSION)" ""
11 VERSION := UNKNOWN
12 endif
13
14 LDFLAGS=\
15- -X github.com/kevinschoon/pomo/pkg/internal/version.Version=$(VERSION)
16+ -X github.com/kevinschoon/pomo/pkg/internal.Version=$(VERSION)
17
18 .PHONY: \
19 test \
20 @@ -23,9 +20,6 @@ bin/pomo: test
21 cd cmd/pomo && \
22 go build -ldflags '${LDFLAGS}' -o ../../$@
23
24- #bindata.go: tomato-icon.png
25- # go-bindata -pkg main -o $@ $^
26-
27 test:
28 go test ./...
29 go vet ./...