minor build fixes
Signed-off-by: Jeff Carr <jcarr@wit.com>
This commit is contained in:
parent
2262700184
commit
f7ae394d20
14
Makefile
14
Makefile
|
@ -1,8 +1,12 @@
|
||||||
all:
|
all:
|
||||||
make redomod
|
make redomod
|
||||||
go build
|
GO111MODULE= go build
|
||||||
sudo ./virtigod
|
sudo ./virtigod
|
||||||
|
|
||||||
|
# makes a .deb package
|
||||||
|
debian:
|
||||||
|
go-deb --no-gui --repo go.wit.com/lib/daemons/virtigod
|
||||||
|
|
||||||
goimports:
|
goimports:
|
||||||
goimports -w *.go
|
goimports -w *.go
|
||||||
|
|
||||||
|
@ -13,4 +17,10 @@ redomod:
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm -f go.*
|
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
|
||||||
|
|
Loading…
Reference in New Issue