Skip to content
Snippets Groups Projects
Commit 903f3640 authored by Oliver Herms's avatar Oliver Herms
Browse files

Merge branch 'isissrv2' of github.com:bio-routing/bio-rd into isissrv2

parents 60ed37db 176b40ee
No related branches found
No related tags found
No related merge requests found
...@@ -5,9 +5,8 @@ package api ...@@ -5,9 +5,8 @@ package api
import ( import (
fmt "fmt" fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto" proto "github.com/golang/protobuf/proto"
math "math"
) )
// Reference imports to suppress errors if they are not otherwise used. // Reference imports to suppress errors if they are not otherwise used.
......
#!/bin/sh #!/bin/sh
pushd $GOPATH/src dir=$(pwd)
echo "Switching to GOPATH"
cd "$GOPATH/src"
echo "Generating protobuf code"
protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/net/api/*.proto protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/net/api/*.proto
protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/route/api/*.proto protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/route/api/*.proto
protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/protocols/bgp/api/*.proto protoc --go_out=plugins=grpc:. github.com/bio-routing/bio-rd/protocols/bgp/api/*.proto
popd echo "Switching back to working directory"
cd $dir
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment