提交 34765425 编写于 作者: D dlorenc 提交者: GitHub

Merge pull request #264 from jimmidyson/makefile-default

Make out/minikube default Makefile target
......@@ -40,11 +40,6 @@ K8S_VERSION_LDFLAGS := $(shell $(PYTHON) hack/get_k8s_version.py 2>&1)
MINIKUBE_LDFLAGS := -X k8s.io/minikube/pkg/version.version=$(VERSION)
LOCALKUBE_LDFLAGS := "$(K8S_VERSION_LDFLAGS) $(MINIKUBE_LDFLAGS) -s -w -extldflags '-static'"
clean:
rm -rf $(GOPATH)
rm -rf $(BUILD_DIR)
rm pkg/minikube/cluster/assets.go
MKGOPATH := mkdir -p $(shell dirname $(GOPATH)/src/$(REPOPATH)) && ln -s -f $(shell pwd) $(GOPATH)/src/$(REPOPATH)
LOCALKUBEFILES := $(shell go list -f '{{join .Deps "\n"}}' ./cmd/localkube/ | grep k8s.io | xargs go list -f '{{ range $$file := .GoFiles }} {{$$.Dir}}/{{$$file}}{{"\n"}}{{end}}')
......@@ -86,3 +81,8 @@ pkg/minikube/cluster/assets.go: out/localkube $(GOPATH)/bin/go-bindata deploy/is
$(GOPATH)/bin/go-bindata:
$(MKGOPATH)
go get github.com/jteeuwen/go-bindata/...
clean:
rm -rf $(GOPATH)
rm -rf $(BUILD_DIR)
rm pkg/minikube/cluster/assets.go
......@@ -189,7 +189,7 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for an overview of how to send pull reque
### Build Instructions
```shell
make out/minikube
make
```
### Run Instructions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册