Skip to content

Commit

Permalink
Merge pull request FDio#12 from hagbard5235/reorg
Browse files Browse the repository at this point in the history
  • Loading branch information
fkautz authored Apr 20, 2018
2 parents d1591ba + 7ca016b commit 64445b6
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 71 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
GOPATH?=~/go
GOBIN?=${GOPATH}/bin

PROTOS = $(wildcard networkservice/*.proto)
PROTOS = $(wildcard pkg/*/apis/**/*.proto)
PBS = $(PROTOS:%.proto=%.pb)

all: protos
protos: ${PBS}

%.pb: %.proto
PATH=~/bin:$${PATH}:$(GOBIN) protoc -I networkservice $*.proto --go_out=plugins=grpc:go
PATH=~/bin:$${PATH}:$(GOBIN) protoc -I $(dir $*.proto) $*.proto --go_out=plugins=grpc:$(dir $*.proto)
137 changes: 69 additions & 68 deletions go/networkservice.pb.go → pkg/nsm/apis/pod2nsm/api.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
syntax = "proto3";
package networkservice;
package pod2nsm;

// NETWORK SERVICES

Expand Down

0 comments on commit 64445b6

Please sign in to comment.