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 Lazarus versions to fall through in switch-case #22

Merged
merged 1 commit into from
Jun 18, 2023
Merged

Allow Lazarus versions to fall through in switch-case #22

merged 1 commit into from
Jun 18, 2023

Conversation

rdipardo
Copy link
Contributor

The toolchain installation logic can treat whole ranges of Lazarus versions as a single case instead of copy-pasting the same code under each individual case.

This makes the code easier to read and update; new Lazarus versions will only require a single added line when the installation steps don't require changes.

The toolchain installation logic can treat whole ranges of Lazarus
versions as a *single* case instead of copy-pasting the same code
under each individual case.

This makes the code easier to read and update; new Lazarus versions
will only require a single added line when the installation steps
don't require changes.
@gcarreno
Copy link
Owner

Hey @rdipardo,

I quite like it this way!
Many thanks!!

I'll merge it 😄

I still have some very persistent issues with cache in Windows and, from my most recent tests, in macOS to solve and I'll do a release once I've had time to get to the bottom of this retched cache misbehaviour !!

Cheers,
Gus

@gcarreno gcarreno merged commit 9f3e78c into gcarreno:master Jun 18, 2023
@rdipardo rdipardo deleted the refactor/fall-through-in-switch-case branch June 19, 2023 00:11
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