-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add support for spm #200
Add support for spm #200
Conversation
- add test to build a swift package from Cauliframework
Contains description about the package
Swift build did not recognise the tools version earlier.
|
||
import PackageDescription | ||
|
||
let package = Package( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Top-level declarations should specify Access Control Level keywords explicitly. |
it is not sufficient anymore. I saw the error from CI - https://travis-ci.org/cauliframework/cauli/builds/595614756#L1985 which is the same as I mentioned before #199 (comment) we need to add some configuration to define the target and sdk path |
Yeah. I also had a look at it. I thought we can just set the Platform in the name: "Cauliframework",
platforms: [
.iOS(.v8)
], Do you want to try the solution you found before? |
- swift build command is refactored and additional parameters are added which are specific to iOS.
In this commit b6f93ba I tried with my solution to the |
Super awesome! Great work. What do you think about either tweaking the |
- Add empty space for end of file.
I added Package.swift in exclude section of swiftlint in this commit |
Really nice. I noticed one more thing. In your ticket you wrote this:
I think that's actually a really good idea. Do you still want to do that? |
- Add dependency code with cauli release version
I agree with you. I was waiting for the approval to the code before adding the section to the README.md file. This commit cf7aad5 updates the README.md file. |
Really nice. Well done! Thanks for your work! |
Hey @akarsh, congratulations to your first merged pull request. Cauli is now your project too. I just invited you as a team member with write permission. We are exited to have you! |
Thank you @brototyp |
* update rake file with test for swift build - add test to build a swift package from Cauliframework * Add Package.swift Contains description about the package * Refactor the comments in the file to swift tools version Swift build did not recognise the tools version earlier. * refactor the spm task into package manager namespace * Downgrade swift tools version from 5.1 to 5.0 * Refactor swift build command - swift build command is refactored and additional parameters are added which are specific to iOS. * Add backslash to escape double quotes and backtick * Add exception for Package.swift in Swiftlint - Add empty space for end of file. * Add section Swift Package Manager - Add dependency code with cauli release version
* #176 added description to Floret protocol * #176 added sample descriptions to some florets * #176 expose floret description in CauliViewController table view * Updated Quick, Nimble, SwiftLint and OHHTTPStubs (#194) * Updated Quick, Nimble, SwiftLint and OHHTTPStubs * Updated travis to use xcode10.2 * Rakefile cleanup * Workaround * Updated to Swift 5 (#201) * Add support for spm (#200) * update rake file with test for swift build - add test to build a swift package from Cauliframework * Add Package.swift Contains description about the package * Refactor the comments in the file to swift tools version Swift build did not recognise the tools version earlier. * refactor the spm task into package manager namespace * Downgrade swift tools version from 5.1 to 5.0 * Refactor swift build command - swift build command is refactored and additional parameters are added which are specific to iOS. * Add backslash to escape double quotes and backtick * Add exception for Package.swift in Swiftlint - Add empty space for end of file. * Add section Swift Package Manager - Add dependency code with cauli release version * Updated all cocoapods and fixed some SwiftLint warnings * Updated Gems * Updated Travis to use Xcode 11.3 * Reemoved tests for iOS 9 * #176 updated descriptions of inspector and mock floret * #176 reuse subtitle cell in floret list * #176 added example for overriding a floret description * #176 removed unneeded constraint toggling * #176 updated changelog Co-authored-by: Cornelius Horstmann <cornelius@brototyp.de> Co-authored-by: Cornelius Horstmann <csh@medicuja.com> Co-authored-by: Akarsh Seggemu <sakarshkumar@gmail.com>
This adds SPM support for the Cauli Framework.
Fixes #199