minor build fixes

Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
Jeff Carr 2024-10-11 22:28:08 -05:00
parent 2262700184
commit f7ae394d20
1 changed files with 12 additions and 2 deletions

View File

@ -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