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

Easier mocking of platforms #1378

Merged
merged 2 commits into from
Oct 21, 2024

Conversation

photovoltex
Copy link
Contributor

As mentioned in #1344, it is quite a hassle to figure out how to test or adjust librespot to work on other platforms, like on mobile. By moving the OS constant and the os_version into config.rs we have a single location where we can adjust these values and mock the different platforms.

I'm unsure if a changelog entry is necessary or would make sense for this change, so i didn't create one yet.

@photovoltex photovoltex force-pushed the easier-platform-adjusting branch from 2e81d58 to 7913dad Compare October 20, 2024 12:18
@roderickvd
Copy link
Member

Looks good. I think an "Added" changelog entry would make sense, to hint developers to its existence.

@roderickvd roderickvd merged commit 2e655e7 into librespot-org:dev Oct 21, 2024
13 checks passed
@roderickvd
Copy link
Member

Merged, thanks!

@photovoltex photovoltex deleted the easier-platform-adjusting branch October 21, 2024 20:42
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