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

Xcode newid determinism #1253

Merged
merged 1 commit into from
Mar 17, 2019
Merged

Conversation

ratzlaff
Copy link
Contributor

@ratzlaff ratzlaff commented Mar 7, 2019

Enables the ability to generate the exact same xcodeproj from different environments

Prior to this change, the absolute path held in node.path passed into xcode.newid would create different id's depending on where the project was located on your filesystem (especially visible when creating projects on windows and comparing the same project generated from a mac)

Since this path was the third item passed into xcode.newid, it was not visible to the existing tests. Some tests have been updated to show the new relative path being used to generate the id.

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.

Once the override discussion has completed, can you please squash your commits.

modules/xcode/tests/test_xcode4_project.lua Outdated Show resolved Hide resolved
Update unit tests with hashcode instead of overridden xcode.newid implementation
@samsinsane samsinsane merged commit 8ea5baf into premake:master Mar 17, 2019
@ratzlaff ratzlaff deleted the xcode_newid_determinism branch March 18, 2019 03:40
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