Skip to content
Snippets Groups Projects
Commit 9006d14c authored by cedi's avatar cedi
Browse files

Improve coding style

parent b55c2e3e
No related branches found
No related tags found
No related merge requests found
......@@ -7,11 +7,11 @@ A re-implementation of BGP, IS-IS and OSPF in go. We value respect and robustnes
[![Go ReportCard](http://goreportcard.com/badge/bio-routing/bio-rd)](http://goreportcard.com/report/bio-routing/bio-rd)
[![Go Doc](https://godoc.org/github.com/bio-routing/bio-rd?status.svg)](https://godoc.org/github.com/bio-routing/bio-rd)
# Building
## Building
We use [Bazel](https://bazel.io) to build bio-rd.
## Build
### Build
bazel build //:bio-rd
bazel-bin/linux_amd64_stripped/bio-rd -arguments go -here
......@@ -20,12 +20,11 @@ or
bazel run //:bio-rd -- -arguments go -here
## Run Tests
### Run Tests
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:
......@@ -33,14 +32,13 @@ To regenerate BUILD files (for both the project and vendored libraries), you wil
Be sure to commit the changes.
### Update vendor/dependencies
## Update vendor/dependencies
### build `dep`
#### build `dep`
bazel build //vendor/github.com/golang/dep/cmd/dep
### Update vendor/add dependencies
#### Update vendor/add dependencies
bazel-bin/vendor/github.com/golang/dep/cmd/dep/linux_amd64_stripped/dep ensure
......
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