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

Consolidate code for getting platform details into one place #311

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

nightlark
Copy link
Contributor

@nightlark nightlark commented Dec 6, 2024

This moves some of the code that is platform dependent (e.g. getting various bits of system info) into a separate file that can be reused as needed between the different tippecanoe binaries, and should help keep conditional compilation #ifdef's for different operating systems in one place. This is laying the groundwork that will make support for new platforms (such as #293) cleaner/easier to maintain.

@nightlark nightlark changed the title Consolidate code for getting platform details into a single place Consolidate code for getting platform details into one place Dec 6, 2024
@e-n-f
Copy link
Collaborator

e-n-f commented Dec 9, 2024

I'm sorry to be neglecting your PRs. I appreciate the portability cleanups, and I hope I can properly review them soon.

Copy link
Collaborator

@e-n-f e-n-f left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks for the portability improvements.

@e-n-f e-n-f merged commit d70e332 into felt:main Dec 9, 2024
2 checks passed
@nightlark nightlark deleted the hide-platform-info-differences branch December 10, 2024 00:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants