Skip to content
Snippets Groups Projects
user avatar
Oliver Herms authored
This reverts commit a5bccc29, reversing
changes made to 88c1c813.
0e6b70da
History

bio-rd

A re-implementation of BGP, IS-IS and OSPF in go. We value respect and robustness!

Build Status Coverage Status Go ReportCard Go Doc

Building

We use Bazel to build bio-rd.

Build

bazel build //:bio-rd
bazel-bin/linux_amd64_stripped/bio-rd -arguments go -here

or

bazel run //:bio-rd -- -arguments go -here

Run Tests

bazel test //...

Update Bazel BUILD files

To regenerate BUILD files (for both the project and vendored libraries), you will need to run the following:

bazel run //:gazelle -- update

Be sure to commit the changes.

Update vendor/dependencies

build dep

bazel build //vendor/github.com/golang/dep/cmd/dep

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/internal/fs/testdata/symlinks/dir-symlink