I am getting errors in packages.Load() when passes a packgae whose 
BUILD.bazel file has genrule to autogenerate code in some other location. 
The genrule is like:
genrule(
    name = "copy_files",
    srcs = [
        "@someplace//:files",
    ],
    outs = [
        "x.json",
        "y.json",
    ],
    cmd = "cp -r $(locations @someplace//:files) $(RULEDIR)",
)
How can I solve this error? Is there some flags using which I can disable 
type checking in packages.Load() function?

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/7c28b8cb-21a3-4ce6-8329-d16afb9547d5n%40googlegroups.com.

Reply via email to