Skip to content
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

Feat: Allow anonymous dependency #200

Merged
merged 1 commit into from
Jan 6, 2025

Conversation

chickenandpork
Copy link
Owner

This PR replaces a macro with a formal rule to unblock "anonymous dependency", which is (I think) the name for when the BCR does an import such as:

bazel_dep(name="rules_synology", repo_name="bokbokbokbok")

Since macros are evaluated where used, the defaults for functions are strings in the context of where they are used, and the previous @rules_synology//tools:resize was wreaking havoc.

I should be able to re-enable a bcr_test_module in the presubmit.yml after this.

@chickenandpork chickenandpork force-pushed the feat/allow-anonymous-dependency branch from f6e5b82 to 6911a89 Compare January 6, 2025 08:48
@chickenandpork chickenandpork force-pushed the feat/allow-anonymous-dependency branch from 6911a89 to ad36f88 Compare January 6, 2025 08:49
@chickenandpork chickenandpork enabled auto-merge (squash) January 6, 2025 08:50
@chickenandpork chickenandpork merged commit 757db4f into master Jan 6, 2025
1 check passed
@chickenandpork chickenandpork deleted the feat/allow-anonymous-dependency branch January 6, 2025 09:23
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.

1 participant