Hack around broken bazel golang build rules.
This commit is contained in:
@ -1,8 +1,15 @@
|
||||
package main
|
||||
package main
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"github.com/laramiel/bazel-example-golang-remote/remote"
|
||||
|
||||
// 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/remote/remote"
|
||||
)
|
||||
|
||||
func main() {
|
||||
|
Reference in New Issue
Block a user