Files
local
submodule
.gitignore
.gitmodules
BUILD
README.md
WORKSPACE
bare.go
hello.go
local.go
remote.go
lotr/README.md
2016-03-03 15:23:43 -08:00

23 lines
475 B
Markdown

# bazel-example-golang
An example project demonstrating bazel build rules for go with
a local binary (go_binary) and a local library (go_library).
This requires bazel release > `bazel-0.20`.
```
$ git clone https://github.com/laramiel/bazel-example-golang.git
$ cd bazel-example-golang
$ bazel run :hello
$ bazel run :local
$ bazel run :remote
$ bazel run :bare
$ git submodule update --init --recursive
$ bazel run //submodule:bare
$ bazel run //submodule:remote
```