commit
6341c4ab9d
5
Makefile
5
Makefile
|
@ -1,12 +1,13 @@
|
||||||
.PHONY: ke
|
.PHONY: ke
|
||||||
|
|
||||||
BINARY="ke"
|
BINARY="ke"
|
||||||
|
GOBIN=$(shell go env GOPATH)/bin
|
||||||
fmt:
|
fmt:
|
||||||
gofmt -w ./pkg ./cmd
|
gofmt -w ./pkg ./cmd
|
||||||
|
|
||||||
ke:
|
ke:
|
||||||
CGO_ENABLED=0 go build -o ${BINARY}
|
GO111MODULE=on GOPROXY=https://proxy.golang.org CGO_ENABLED=0 go get -u github.com/gobuffalo/packr/v2/packr2
|
||||||
|
$(GOBIN)/packr2 build -a -o ${BINARY} main.go
|
||||||
|
|
||||||
# install kubeye
|
# install kubeye
|
||||||
install: ke
|
install: ke
|
||||||
|
|
Loading…
Reference in New Issue