Skip to content

Conversation

@dempseyatgithub
Copy link
Collaborator

Make the code changes needed for project to build and pass tests on Linux.

This includes the following:

  • Add declarations for FoundationNetworking, since Foundation is partitioned differently on non-Apple platforms
  • Add declarations for CF constants not present on Linux
  • Use different FIleManager method on Linux
  • More specific sorting specification to stable sort across macOS and Linux
  • Resolves Add support for Linux #54

The replaceItemAt() method fails on Linux.
Use the moveItem() method instead.
Part of swiftlang#54
- Add conditional imports of FoundationNetworking
- Declare CF contants not present on Linux
- Resolves swiftlang#54
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.

Add support for Linux

2 participants