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

Remove Deprecated Flags with Replacements, Fix Tests #2331

Conversation

nickclark2016
Copy link
Member

What does this PR do?

Removes the remaining flags that are deprecated and have existing replacements. Fixes unit tests corresponding to those removals. This also fixes an issue in xcode where the "StaticRuntime" flag was being used in the generator instead of the "staticruntime" field.

How does this PR change Premake's behavior?

Will break any code using those flags.

Anything else we should know?

Further clean up ahead of the 5.0 release.

Did you check all the boxes?

  • Focus on a single fix or feature; remove any unrelated formatting or code changes
  • Add unit tests showing fix or feature works; all tests pass
  • Mention any related issues (put closes #XXXX in comment to auto-close issue when PR is merged)
  • Follow our coding conventions
  • Minimize the number of commits
  • Align documentation to your changes

You can now support Premake on our OpenCollective. Your contributions help us spend more time responding to requests like these!

@nickclark2016 nickclark2016 requested a review from a team November 20, 2024 05:19
@nickclark2016 nickclark2016 force-pushed the feature/remove-deprecated-flags-with-existing-replacements branch from 0667cc1 to b287ada Compare November 20, 2024 05:22
Copy link
Member

@samsinsane samsinsane left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comments don't need to be addressed in this PR, can be merged as-is.

modules/xcode/xcode_common.lua Outdated Show resolved Hide resolved
tests/api/test_deprecations.lua Outdated Show resolved Hide resolved
@nickclark2016 nickclark2016 force-pushed the feature/remove-deprecated-flags-with-existing-replacements branch from b287ada to e1f3cf2 Compare November 20, 2024 14:30
@samsinsane samsinsane merged commit 6f0cb4a into premake:master Nov 21, 2024
17 checks passed
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