Skip to content

ensure that run_in targets include direct tool deps#94

Merged
markelliot merged 1 commit intobazel-contrib:mainfrom
novas0x2a:fix-http-file
Aug 27, 2025
Merged

ensure that run_in targets include direct tool deps#94
markelliot merged 1 commit intobazel-contrib:mainfrom
novas0x2a:fix-http-file

Conversation

@novas0x2a
Copy link
Copy Markdown
Contributor

This change makes sure that, if the tool is a http_file, that the file's //downloaded target ends up in the runfiles set.

This change makes sure that, if the tool is a http_file, that the file's
//downloaded target ends up in the runfiles set.
@novas0x2a
Copy link
Copy Markdown
Contributor Author

I wanted to write a test for this, but the tests in the examples/module directory fail locally for me, so I wasn't sure what to do about that.

Copy link
Copy Markdown
Contributor

@alexeagle alexeagle left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks right to me. I wonder if this was always broken?

@novas0x2a
Copy link
Copy Markdown
Contributor Author

I suspect the problem came from 08e2aeb

@markelliot markelliot closed this Aug 27, 2025
@markelliot markelliot reopened this Aug 27, 2025
@markelliot
Copy link
Copy Markdown
Collaborator

I think my original understanding was that the executable is automatically included in the runfiles

@markelliot markelliot merged commit 7fc3d48 into bazel-contrib:main Aug 27, 2025
13 checks passed
@novas0x2a
Copy link
Copy Markdown
Contributor Author

Yeah, I would have assumed that too! I ended up just looking at a bunch of projects by fmeum to see what those projects did, and just did the same.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants