From f7ae394d20faab6d6d89554416e0e3bf7dbb2547 Mon Sep 17 00:00:00 2001 From: Jeff Carr Date: Fri, 11 Oct 2024 22:28:08 -0500 Subject: [PATCH] minor build fixes Signed-off-by: Jeff Carr --- Makefile | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 5c82159..637952b 100644 --- a/Makefile +++ b/Makefile @@ -1,8 +1,12 @@ all: make redomod - go build + GO111MODULE= go build sudo ./virtigod +# makes a .deb package +debian: + go-deb --no-gui --repo go.wit.com/lib/daemons/virtigod + goimports: goimports -w *.go @@ -13,4 +17,10 @@ redomod: clean: rm -f go.* - rm -f virtigo* + rm -f virtigod + +# git clone the sources and all the golang dependancies into ~/go/src +# if you don't have go-clone, you can get it from http://go.wit.com/ +git-clone: + # go-clone --recursive --go-src --no-work go.wit.com/apps/go-clone + go-clone --recursive --go-src --no-work go.wit.com/lib/daemons/virtigod