Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix(rules): make the srcs trully optional #2768

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Apr 13, 2025

Conversation

aignas
Copy link
Collaborator

@aignas aignas commented Apr 10, 2025

With this PR we mark the srcs attribute as optional as we can
leverage the main_module to just run things from the deps.

This also removes a long-standing TODO note.

Fixes #2765

With this PR we mark the srcs attribute as optional as we can
leverage the `main_module` to just run things from the deps.

Fixes bazel-contrib#2765
@aignas aignas requested a review from rickeylev as a code owner April 10, 2025 14:41
Copy link
Collaborator

@rickeylev rickeylev left a comment

Choose a reason for hiding this comment

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

I renamed the tests, otherwise LGTM

@aignas aignas added this pull request to the merge queue Apr 13, 2025
Merged via the queue into bazel-contrib:main with commit aa0d16c Apr 13, 2025
3 checks passed
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.

Support src-less invocation of py_binary
2 participants