Newer
Older
# bio-rd
[](https://travis-ci.org/bio-routing/bio-rd)
[](https://coveralls.io/github/bio-routing/bio-rd?branch=master)
[](http://goreportcard.com/report/bio-routing/bio-rd)
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
Building
========
We use [Bazel](https://bazel.io) 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
---------------------------
After updating Gopkg.toml, run
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
rm -rf vendor/github.com/golang/dep/cmd/dep/testdata
rm -rf vendor/github.com/golang/dep/internal/fs/testdata/symlinks/dir-symlink