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