gobazel icon indicating copy to clipboard operation
gobazel copied to clipboard

Handling `go_repository` rules

Open bweston92 opened this issue 7 years ago • 1 comments

When you use go_repository rules in your WORKSPACE file to declare dependencies.

How do we get the dependencies pulled to go into the GOPATH created by gobazel?

bweston92 avatar Sep 04 '18 08:09 bweston92

gobazel would not copy source code to GOPATH, instead, it maps source code with FUSE. You can think of it as kind of symlinks. Once all source code files are mapped (with the rules we configured), the Go compiler can find the deps correctly.

linuxerwang avatar Sep 05 '18 04:09 linuxerwang