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

Support scala file parsing prior to gazelle runtime #135

Open
wants to merge 31 commits into
base: master
Choose a base branch
from

Conversation

pcj
Copy link
Member

@pcj pcj commented Mar 20, 2025

This PR adds a new rule scala_files and related scala_fileset rules:

  • a scala_files rule aggregates the files named by existing scala rule srcs globs. There is one scala_files rule per scala package.
  • the scala_files output is a file.Rule
  • scala_fileset aggregates / merges multiple scala_files into a file.RuleSet
  • runs as a persistent worker

The file.RuleSet can be fed into the source provider as a gazelle argument that will obviate the need to parse the file at runtime.

@pcj pcj changed the title feature: scala_files rule Support scala file parsing prior to gazelle runtime Mar 31, 2025
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