Skip to content

Allow setting wrapper targets based on annotations #79

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

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 illicitonion force-pushed the annotations-for-wrappers branch from f220ae6 to 6e72483 Compare September 1, 2022 16:15
@illicitonion
Copy link
Collaborator Author

Closing this for now - will revive if it becomes necessary

@illicitonion illicitonion reopened this Jan 22, 2024
@illicitonion illicitonion force-pushed the annotations-for-wrappers branch from 6e72483 to 17f9973 Compare January 22, 2024 14:38
@illicitonion illicitonion enabled auto-merge (rebase) January 22, 2024 14:38
@illicitonion illicitonion force-pushed the annotations-for-wrappers branch from 17f9973 to bbb48f6 Compare January 22, 2024 14:40
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 force-pushed the annotations-for-wrappers branch from bbb48f6 to 1a790aa Compare January 22, 2024 14:43
@illicitonion illicitonion merged commit 7aafc05 into bazel-contrib:main Jan 23, 2024
@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