summaryrefslogtreecommitdiffstats
path: root/src/kube2msb/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'src/kube2msb/Makefile')
-rw-r--r--src/kube2msb/Makefile11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/kube2msb/Makefile b/src/kube2msb/Makefile
new file mode 100644
index 0000000..d598b97
--- /dev/null
+++ b/src/kube2msb/Makefile
@@ -0,0 +1,11 @@
+.PHONY: kude2msb clean test
+
+kube2msb: kube2msb.go
+ CGO_ENABLED=0 go build --ldflags '-extldflags "-static"'
+ strip kube2msb
+
+clean:
+ rm -fr kube2msb
+
+test: clean
+ go test -v --vmodule=*=4