Skip to content
Snippets Groups Projects
Commit 55ec9f48 authored by Daniel Czerwonk's avatar Daniel Czerwonk
Browse files

since pushd is not available on os x, the script couldn't be run

parent 5e7548e5
No related branches found
No related tags found
No related merge requests found
......@@ -5,9 +5,8 @@ package api
import (
fmt "fmt"
math "math"
proto "github.com/golang/protobuf/proto"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
......
#!/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/route/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