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

Allow setting wrapper targets based on annotations #79

Merged

Conversation

illicitonion
Copy link
Collaborator

This allows for registering that, e.g.

@RequiresNetwork
class SomeTest {}

should be generated as:

requires_network(
    java_test,
    ...
)

instead of:

java_test(
    ...
)

In suite mode, separate targets will be generated for these special
targets.

@illicitonion
Copy link
Collaborator Author

Closing this for now - will revive if it becomes necessary

This allows for registering that, e.g.

```java
@RequiresNetwork
class SomeTest {}
```

should be generated as:

```starlark
requires_network(
    java_test,
    ...
)
```

instead of:

```starlark
java_test(
    ...
)
```

In suite mode, separate targets will be generated for these special
targets.
@illicitonion illicitonion merged commit 7aafc05 into bazel-contrib:main Jan 23, 2024
2 checks passed
@illicitonion illicitonion deleted the annotations-for-wrappers branch January 23, 2024 14:38
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.

2 participants