Merge pull request #17 from kubesphere/dev-20210108

update Makefile
This commit is contained in:
Forest 2021-01-14 19:02:00 +08:00 committed by GitHub
commit 6341c4ab9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 3 deletions

View File

@ -1,12 +1,13 @@
.PHONY: ke
BINARY="ke"
GOBIN=$(shell go env GOPATH)/bin
fmt:
gofmt -w ./pkg ./cmd
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: ke