From c4a34b2fe6f7317bf17fa478a734e5bdab30c278 Mon Sep 17 00:00:00 2001 From: HuabingZhao Date: Mon, 4 Sep 2017 19:33:48 +0800 Subject: Use maven to build kube2msb Issue-Id: OOM-61 Change-Id: Ic7e733c95e28b75b66535b343ae22c893db24531 Signed-off-by: HuabingZhao --- src/kube2msb/Makefile | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 src/kube2msb/Makefile (limited to 'src/kube2msb/Makefile') 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 -- cgit 1.2.3-korg