Skip to content

Added SPM support - #436

Merged
eskroch merged 11 commits into
core-plot:release-2.4from
3a4oT:spm
Dec 13, 2020
Merged

eskroch merged 11 commits into
core-plot:release-2.4from
3a4oT:spm

Conversation

@3a4oT

@3a4oT 3a4oT commented Dec 12, 2020 •

Copy link
Copy Markdown
Contributor

Swift Package Manager has some strict requirements to source files layout. We can gain SPM support with minimal project structure changes by applying an autogenerated layout based on symbolic links technics. SPM related files located under spm folder at the project's root. You should NEVER modify it manually nor include to Xcode's project.

So in this PR:

  • minimal necessary changes to make it work were:

    1. merged platform-specific files with the same names. I've renamed iPhoneOnly folder to PlatformSpecific
    2. tweaked some imports
  • script which can autogenerate SPM compatible layout

  • some improvements over macCatalyst code availability.

  • basic CI workflow

NOTE: if this diff will be accepted the next tag should be in SemVer format since SPM may have problems resolving the version otherwise. (2.4.0 instead of release-2.4)

@3a4oT 3a4oT mentioned this pull request Dec 12, 2020
2 tasks
@eskroch
eskroch merged commit b8d15e1 into core-plot:release-2.4 Dec 13, 2020
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