зеркало из https://github.com/Azure/acs-engine.git
Updating the go-bindata go get paths (#3119)
This commit is contained in:
Родитель
1bd96cb8aa
Коммит
ec9ee249c7
|
@ -15,7 +15,7 @@ RUN curl -fsSL https://get.docker.com/ | sh
|
|||
ENV GOPATH /gopath
|
||||
ENV PATH "${PATH}:${GOPATH}/bin:/usr/local/go/bin"
|
||||
|
||||
RUN go get -u github.com/jteeuwen/go-bindata/go-bindata
|
||||
RUN go get -u github.com/go-bindata/go-bindata/go-bindata
|
||||
|
||||
WORKDIR /gopath/src/k8s.io/kubernetes
|
||||
|
||||
|
|
|
@ -149,7 +149,7 @@ Build acs-engine:
|
|||
4. Type `cd %GOPATH%`
|
||||
5. Type `go get -d github.com/Azure/acs-engine` to download acs-engine from GitHub
|
||||
6. Type `go get all` to get the supporting components
|
||||
7. Type `go get -u github.com/jteeuwen/go-bindata/...`
|
||||
7. Type `go get -u github.com/go-bindata/go-bindata/...`
|
||||
8. Type `cd %GOPATH%\src\github.com\Azure\acs-engine\pkg\acsengine`
|
||||
9. Type `go generate`
|
||||
10. Type `cd %GOPATH%\src\github.com\Azure\acs-engine\pkg\i18n`
|
||||
|
|
|
@ -2,5 +2,5 @@ package acsengine
|
|||
|
||||
//go:generate go-bindata -nometadata -pkg $GOPACKAGE -prefix ../../parts/ -o templates.go ../../parts/...
|
||||
//go:generate gofmt -s -l -w templates.go
|
||||
// fileloader use go-bindata (https://github.com/jteeuwen/go-bindata)
|
||||
// fileloader use go-bindata (https://github.com/go-bindata/go-bindata)
|
||||
// go-bindata is the way we handle embedded files, like binary, template, etc.
|
||||
|
|
|
@ -2,5 +2,5 @@ package i18n
|
|||
|
||||
//go:generate go-bindata -nometadata -pkg $GOPACKAGE -prefix ../../ -o translations.go ../../translations/...
|
||||
//go:generate gofmt -s -l -w translations.go
|
||||
// resourceloader use go-bindata (https://github.com/jteeuwen/go-bindata)
|
||||
// resourceloader use go-bindata (https://github.com/go-bindata/go-bindata)
|
||||
// go-bindata is the way we handle embedded files, like binary, template, etc.
|
||||
|
|
Загрузка…
Ссылка в новой задаче