summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index ef166c0..77ad3a6 100644
--- a/Makefile
+++ b/Makefile
@@ -19,14 +19,12 @@ install:
GO111MODULE=off go install \
-ldflags "-X main.VERSION=${VERSION} -X main.BUILDTIME=${BUILDTIME} -X gui.GUIVERSION=${VERSION}"
-# this is for release builds using the go.mod files
-release-build:
- @echo ${REDOMOD}
- go build -v -ldflags "-X main.VERSION=${VERSION} -X gui.GUIVERSION=${VERSION}"
+sudo: build
+ sudo ./zood
# makes a .deb package
debian:
- go-deb --no-gui --repo go.wit.com/lib/daemons/zood
+ go-deb --auto --repo go.wit.com/lib/daemons/zood
goimports:
goimports -w *.go