summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Carr <[email protected]>2024-10-11 22:28:08 -0500
committerJeff Carr <[email protected]>2024-10-11 22:28:08 -0500
commitf7ae394d20faab6d6d89554416e0e3bf7dbb2547 (patch)
tree3d2979e7c143f7bfc055092790d4007cdda2f0aa
parent2262700184f153354b492f2031f261b7d82f89a0 (diff)
minor build fixes
Signed-off-by: Jeff Carr <[email protected]>
-rw-r--r--Makefile14
1 files 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