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
a28d22ff
Commit
a28d22ff
authored
Aug 01, 2016
by
Eric Chiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
*: add gRPC to build system
parent
94e26782
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
40 additions
and
6 deletions
+40
-6
Makefile
Makefile
+11
-3
glide.yaml
glide.yaml
+29
-3
No files found.
Makefile
View file @
a28d22ff
PROJ
=
"poke"
ORG_PATH
=
"github.com/coreos"
REPO_PATH
=
"
$(ORG_PATH)
/
$(PROJ)
"
export
PATH
:=
$(PWD)
/bin:
$(PATH)
export
GOBIN
=
$(PWD)
/bin
export
GO15VENDOREXPERIMENT
=
1
...
...
@@ -41,15 +42,22 @@ fmt:
@
go
fmt
$(
shell
go list ./... |
grep
-v
'/vendor/'
)
lint
:
@
for
package
in
$(
shell
go list ./... |
grep
-v
'/vendor/'
)
;
do
\
@
for
package
in
$(
shell
go list ./... |
grep
-v
'/vendor/'
|
grep
-v
'api/apipb'
)
;
do
\
golint
$$
package
;
\
done
# TODO(ericchiang): Grab protoc as well.
grpc
:
bin/protoc-gen-go
@
protoc
--go_out
=
plugins
=
grpc:. ./api/apipb/
*
.proto
bin/protoc-gen-go
:
@
go
install
${
REPO_PATH
}
/vendor/github.com/golang/protobuf/protoc-gen-go
clean
:
rm
bin/poke bin/pokectl
@
rm
bin/
*
testall
:
testrace vet fmt lint
FORCE
:
.PHONY
:
test testrace vet fmt lint testall
.PHONY
:
test testrace vet fmt lint testall
grpc
glide.yaml
View file @
a28d22ff
# NOTE(ericchiang): Create a separate block for each dependency so it's clear
# which dependencies require which transitive dependencies.
package
:
github.com/coreos/poke
import
:
-
package
:
github.com/spf13/cobra
version
:
bc81c21bd0d8be5ba2d6630a505d79d4467566e7
-
package
:
github.com/spf13/pflag
...
...
@@ -21,9 +25,6 @@ import:
-
package
:
gopkg.in/yaml.v2
version
:
a83829b6f1293c91addabc89d0571c246397bbf4
-
package
:
golang.org/x/net/context
version
:
d7bf3545bb0dacf009c535b3d3fbf53ac0a339ab
-
package
:
github.com/gorilla/mux
version
:
9fa818a44c2bf1396a17f9d5a3c0f6dd39d2ff8e
-
package
:
github.com/gorilla/context
...
...
@@ -44,6 +45,8 @@ import:
version
:
v1.0.2
-
package
:
golang.org/x/oauth2
version
:
08c8d727d2392d18286f9f88ad775ad98f09ab33
# Not actually imported but glide detects it. Consider adding subpackages to
# the oauth2 package to eliminate.
-
package
:
google.golang.org/appengine
version
:
267c27e7492265b84fc6719503b14a1e17975d79
subpackages
:
...
...
@@ -54,10 +57,33 @@ import:
-
internal/datastore
-
internal/log
-
internal/remote_api
# Go's protobuf generator is also a direct dependency of this repo.
-
package
:
github.com/golang/protobuf
version
:
874264fbbb43f4d91e999fecb4b40143ed611400
subpackages
:
-
proto
-
protoc-gen-go
-
package
:
github.com/mitchellh/go-homedir
verison
:
756f7b183b7ab78acdbbee5c7f392838ed459dda
-
package
:
google.golang.org/grpc
version
:
v1.0.0
subpackages
:
-
codes
-
credentials
-
grpclog
-
internal
-
metadata
-
naming
-
transport
-
peer
-
package
:
golang.org/x/net
version
:
6a513affb38dc9788b449d59ffed099b8de18fa0
subpackages
:
-
context
# context is also imported directly by this repo.
-
http2
-
http2/hpack
-
trace
-
lex/httplex
-
internal/timeseries
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