mirror of
https://github.com/helm/helm.git
synced 2026-05-26 03:11:48 -04:00
If not mercurial, clone with git. dont exit if no mercurial is there
This commit is contained in:
parent
b7b648456b
commit
2f9c3c2e5d
1 changed files with 4 additions and 3 deletions
7
Makefile
7
Makefile
|
|
@ -112,11 +112,12 @@ endif
|
|||
ifndef HAS_GOX
|
||||
go get -u github.com/mitchellh/gox
|
||||
endif
|
||||
|
||||
ifndef HAS_HG
|
||||
$(error You must install Mercurial (hg))
|
||||
endif
|
||||
@echo "Mercurial is not installed! Checking for Git"
|
||||
ifndef HAS_GIT
|
||||
$(error You must install Git)
|
||||
$(error You must either install Mercurial or Git)
|
||||
endif
|
||||
endif
|
||||
glide install --strip-vendor
|
||||
go build -o bin/protoc-gen-go ./vendor/github.com/golang/protobuf/protoc-gen-go
|
||||
|
|
|
|||
Loading…
Reference in a new issue