diff --git a/.travis.yml b/.travis.yml index 1ceb1e8..76545aa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,6 @@ language: go -go: 1.8.x +go: 1.11.x +go_import_path: moul.io/protoc-gen-gotemplate install: - go get github.com/Masterminds/glide - wget https://raw.githubusercontent.com/grpc-ecosystem/grpc-gateway/master/.travis/install-protoc.sh && chmod +x install-protoc.sh && ./install-protoc.sh 3.4.0 diff --git a/Dockerfile b/Dockerfile index b631dc3..db66eac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN apk --update add make git go rsync libc-dev \ && go get -u golang.org/x/tools/cmd/goimports # Install protoc-gen-gotemplate -COPY . /go/src/github.com/moul/protoc-gen-gotemplate -WORKDIR /go/src/github.com/moul/protoc-gen-gotemplate +COPY . /go/src/moul.io/protoc-gen-gotemplate +WORKDIR /go/src/moul.io/protoc-gen-gotemplate RUN git remote set-url origin https://github.com/moul/protoc-gen-gotemplate RUN go install . ./cmd/web-editor diff --git a/README.md b/README.md index c3af012..d87aff2 100644 --- a/README.md +++ b/README.md @@ -133,7 +133,7 @@ See the project helpers for the complete list. * Install the **Go** compiler and tools from https://golang.org/doc/install * Install **protobuf**: `go get -u github.com/golang/protobuf/{proto,protoc-gen-go}` -* Install **protoc-gen-gotemplate**: `go get -u github.com/moul/protoc-gen-gotemplate` +* Install **protoc-gen-gotemplate**: `go get -u moul.io/protoc-gen-gotemplate` ## Docker diff --git a/cmd/web-editor/static/index.html b/cmd/web-editor/static/index.html index 278c848..ee28ac1 100644 --- a/cmd/web-editor/static/index.html +++ b/cmd/web-editor/static/index.html @@ -129,10 +129,10 @@
protoc --gotemplate_out=template_dir=.:. example.proto