Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
bio-rd
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
danet
bio-rd
Commits
55ec9f48
Commit
55ec9f48
authored
6 years ago
by
Daniel Czerwonk
Browse files
Options
Downloads
Patches
Plain Diff
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
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
net/api/net.pb.go
+1
-2
1 addition, 2 deletions
net/api/net.pb.go
regenerate_proto.sh
+6
-2
6 additions, 2 deletions
regenerate_proto.sh
with
7 additions
and
4 deletions
net/api/net.pb.go
+
1
−
2
View file @
55ec9f48
...
...
@@ -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.
...
...
This diff is collapsed.
Click to expand it.
regenerate_proto.sh
+
6
−
2
View file @
55ec9f48
#!/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
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment