Skip to content

Conversation

@jeffcharles
Copy link
Collaborator

Description of the change

Moves source code options into a single command line codegen flag named source instead of having separate source and source-compression options.

Why am I making this change?

There's only three valid states for what to do with source code during code generation: omitted, compressed, and uncompressed. So let's replace two booleans with a single enum.

Checklist

  • I've updated the relevant CHANGELOG files if necessary. Changes to javy-cli, javy-plugin, and javy-plugin-processing do not require updating CHANGELOG files.
  • I've updated the relevant crate versions if necessary. Versioning policy for library crates
  • I've updated documentation including crate documentation if necessary.

@jeffcharles jeffcharles merged commit e679f11 into main Aug 29, 2025
4 checks passed
@jeffcharles jeffcharles deleted the jc.use-enum-for-source-code branch August 29, 2025 15:39
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.

3 participants