--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/CAO40Mi%3DgeL6PFeHACanTrSsWbh6HZHyBiFC1j7t%2BMN1yruCAPg%40mail.gmail.com.
I believe you also need to add the file to an output group via the OutputGroupInfo, and request that output group on the command line. See https://docs.bazel.build/versions/master/skylark/rules.html#requesting-output-files for more information