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
d1d50911
Unverified
Commit
d1d50911
authored
6 years ago
by
Maximilian Wilhelm
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #130 from bio-routing/add_go_doc_badge
Update README.md
parents
12829d84
9006d14c
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
README.md
+14
-14
14 additions, 14 deletions
README.md
with
14 additions
and
14 deletions
README.md
+
14
−
14
View file @
d1d50911
...
@@ -5,14 +5,13 @@ A re-implementation of BGP, IS-IS and OSPF in go. We value respect and robustnes
...
@@ -5,14 +5,13 @@ A re-implementation of BGP, IS-IS and OSPF in go. We value respect and robustnes
[

](https://travis-ci.org/bio-routing/bio-rd)
[

](https://travis-ci.org/bio-routing/bio-rd)
[

](https://coveralls.io/github/bio-routing/bio-rd?branch=master)
[

](https://coveralls.io/github/bio-routing/bio-rd?branch=master)
[

](http://goreportcard.com/report/bio-routing/bio-rd)
[

](http://goreportcard.com/report/bio-routing/bio-rd)
[

](https://godoc.org/github.com/bio-routing/bio-rd)
Building
## Building
========
We use
[
Bazel
](
https://bazel.io
)
to build bio-rd.
We use
[
Bazel
](
https://bazel.io
)
to build bio-rd.
Build
### Build
-----
bazel build //:bio-rd
bazel build //:bio-rd
bazel-bin/linux_amd64_stripped/bio-rd -arguments go -here
bazel-bin/linux_amd64_stripped/bio-rd -arguments go -here
...
@@ -21,14 +20,11 @@ or
...
@@ -21,14 +20,11 @@ or
bazel run //:bio-rd -- -arguments go -here
bazel run //:bio-rd -- -arguments go -here
Run Tests
### Run Tests
---------
bazel test //...
bazel test //...
### Update Bazel BUILD files
Update Bazel BUILD files
------------------------
To regenerate BUILD files (for both the project and vendored libraries), you will need to run the following:
To regenerate BUILD files (for both the project and vendored libraries), you will need to run the following:
...
@@ -36,13 +32,17 @@ To regenerate BUILD files (for both the project and vendored libraries), you wil
...
@@ -36,13 +32,17 @@ To regenerate BUILD files (for both the project and vendored libraries), you wil
Be sure to commit the changes.
Be sure to commit the changes.
Update vendor/dependencies
### Update vendor/dependencies
---------------------------
After updating Gopkg.toml, run
#### build `dep`
bazel build //vendor/github.com/golang/dep/cmd/dep
bazel build //vendor/github.com/golang/dep/cmd/dep
bazel-bin/vendor/github.com/golang/dep/cmd/dep/linux_amd64_stripped/dep use
# hack: dep of dep gives us these, and it breaks gazelle
#### Update vendor/add dependencies
bazel-bin/vendor/github.com/golang/dep/cmd/dep/linux_amd64_stripped/dep ensure
dep of dep breaks gazelle. Therefore execute the following commands after updating Gopkg.toml
rm -rf vendor/github.com/golang/dep/cmd/dep/testdata
rm -rf vendor/github.com/golang/dep/cmd/dep/testdata
rm -rf vendor/github.com/golang/dep/internal/fs/testdata/symlinks/dir-symlink
rm -rf vendor/github.com/golang/dep/internal/fs/testdata/symlinks/dir-symlink
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