Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
D
dex
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
dex
Commits
35063da4
Commit
35063da4
authored
Dec 01, 2017
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: pin protoc-gen-go dependencies
parent
861d4ae4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
6 deletions
+17
-6
.travis.yml
.travis.yml
+1
-0
Makefile
Makefile
+5
-5
glide.yaml
glide.yaml
+4
-1
git-diff
scripts/git-diff
+7
-0
No files found.
.travis.yml
View file @
35063da4
...
...
@@ -25,6 +25,7 @@ install:
script
:
-
make testall
-
./scripts/test-k8s.sh
-
make verify-proto
# Ensure proto generation doesn't depend on external packages.
notifications
:
email
:
false
Makefile
View file @
35063da4
...
...
@@ -61,14 +61,14 @@ docker-image:
@
sudo
docker build
-t
$(DOCKER_IMAGE)
.
.PHONY
:
proto
proto
:
api/api.pb.go server/internal/types.pb.go
api/api.pb.go
:
api/api.proto bin/protoc bin/protoc-gen-go
proto
:
bin/protoc bin/protoc-gen-go
@
./bin/protoc
--go_out
=
plugins
=
grpc:.
--plugin
=
protoc-gen-go
=
./bin/protoc-gen-go api/
*
.proto
server/internal/types.pb.go
:
server/internal/types.proto bin/protoc bin/protoc-gen-go
@
./bin/protoc
--go_out
=
.
--plugin
=
protoc-gen-go
=
./bin/protoc-gen-go server/internal/
*
.proto
.PHONY
:
verify-proto
verify-proto
:
proto
@
./scripts/git-diff
bin/protoc
:
scripts/get-protoc
@
./scripts/get-protoc bin/protoc
...
...
glide.yaml
View file @
35063da4
...
...
@@ -128,11 +128,14 @@ import:
-
peer
-
transport
-
package
:
github.com/golang/protobuf
version
:
2bba0603135d7d7f5cb73b2125beeda19c09f4ef
version
:
1e59b77b52bf8e4b449a57e6f79f21226d571845
subpackages
:
-
proto
-
protoc-gen-go
-
protoc-gen-go/grpc
-
protoc-gen-go/descriptor
-
protoc-gen-go/plugin
-
protoc-gen-go/generator
-
package
:
google.golang.org/genproto
version
:
411e09b969b1170a9f0c467558eb4c4c110d9c77
...
...
scripts/git-diff
0 → 100755
View file @
35063da4
#!/bin/bash -e
DIFF
=
$(
git diff
.
)
if
[
"
$DIFF
"
!=
""
]
;
then
echo
"
$DIFF
"
>
&2
exit
1
fi
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment