Hack around broken bazel golang build rules.

This commit is contained in:
Laramie Leavitt
2016-03-03 18:12:32 -08:00
parent a2e269c3f3
commit dfd84d2172
7 changed files with 54 additions and 28 deletions

View File

@ -1,8 +1,15 @@
package main
package main
import (
"fmt"
"github.com/laramiel/bazel-example-golang-bare/bare"
// HACK ALERT
// The correct import is this:
// "github.com/laramiel/bazel-example-golang-bare/bare"
// But the bazel build rules for subversion packages don't support alternate
// go_prefix() commands.
// We hack around it by importing where those external dependencies end up:
"github.com/laramiel/bazel-example-golang/submodule/src/bare"
)
func main() {