-
Notifications
You must be signed in to change notification settings - Fork 4.4k
sh_binary's data dependencies are not triggered during the build #15043
Copy link
Copy link
Closed
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Rules-ServerIssues for serverside rules included with BazelIssues for serverside rules included with Bazeltype: bug
Description
Description of the problem / feature request:
When a sh_binary has a target in the data attribute, the target is not built automatically when the sh_binary target is built.
Bugs: what's the simplest, easiest way to reproduce this bug? Please provide a minimal example if possible.
- Check out rules_docker
bazel cleanbazel build //docs:updatels bazel-bin/docs/container.md_
Althoughbazel-bin/docs/container.md_is the output of//docs:container_doc, which is depended by//docs:update, it is not built.
What operating system are you running Bazel on?
macOS
What's the output of bazel info release?
release 5.0.0-homebrew
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
P3We're not considering working on this, but happy to review a PR. (No assignee)We're not considering working on this, but happy to review a PR. (No assignee)team-Rules-ServerIssues for serverside rules included with BazelIssues for serverside rules included with Bazeltype: bug