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

[FR]: Gazelle: Generate different types of targets for tests vs sources #439

Open
mrmeku opened this issue May 11, 2023 · 1 comment
Open
Labels
enhancement New feature or request

Comments

@mrmeku
Copy link
Contributor

mrmeku commented May 11, 2023

What is the current behavior?

Right now both tests and source targets are generated as ts_projects. This is fine in principle as a default, but disallows me to generate a different kind of target for my tests since both have the same kind so gazelle's map_kind directive applies to both tests and source targets.

Describe the feature

Tests target should have a different kind (in gazelle terms) than source targets. If this were the case, I could independently configure the kind of my source files to be my own fe_library rule and have my tests be my own my_special_test rule.

@mrmeku mrmeku added the enhancement New feature or request label May 11, 2023
@github-actions github-actions bot added the untriaged Requires traige label May 11, 2023
@jbedard jbedard removed the untriaged Requires traige label Jun 12, 2023
@Aghassi
Copy link

Aghassi commented Apr 30, 2024

My company would benefit from support for this. We currently have patched the gazelle plugin to enable this internally

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: No status
Development

No branches or pull requests

3 participants