summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index ffdafa2..be9856e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,10 @@
VERSION = $(shell git describe --tags)
BUILDTIME = $(shell date +%Y.%m.%d_%H%M)
-full: install clean auto goimports vet build test
+simple: build
+ make -C example simple goimports vet
+
+full: install clean auto goimports vet build test install
@echo everything worked and the example ran
test: goimports build test
@@ -17,7 +20,7 @@ recover:
make goimports
make build
-build:
+build: goimports
GO111MODULE=off go build \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
# autogen uses autogen to build. keep a working copy somewhere