forked from Instagram/IGListKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Summary: ## Changes in this pull request A better version of Instagram#1465 =) - SPM support with script-based generations. - added macOS Catalyst support ### Generate SPM layout 1. From **project's root** run: `bash scripts/generate_spm_sources_layout.sh` 2. Commit Changes Repeat those steps each time you delete/add the project's files. **Make sure** to have this CI step which will check that `generate_spm_sources_layout.sh` is not broken. Issue fixed: Instagram#1368 Instagram#1406 ### Checklist - [ ] All tests pass. Demo project builds and runs. - [ ] I added tests, an experiment, or detailed why my change isn't tested. - [ ] I added an entry to the `CHANGELOG.md` for any breaking changes, enhancements, or bug fixes. - [ ] I have reviewed the [contributing guide](https://github.com/Instagram/IGListKit/blob/master/.github/CONTRIBUTING.md) Pull Request resolved: Instagram#1487 Differential Revision: D30428297 Pulled By: lorixx fbshipit-source-id: 7fe5e99f2c6faf695a74588743a17fcafd02de44
- Loading branch information
1 parent
4693066
commit 99e5675
Showing
221 changed files
with
1,359 additions
and
534 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,39 @@ | ||
// swift-tools-version:4.2 | ||
// swift-tools-version:5.3 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "IGListKit", | ||
platforms: [ .iOS(.v9), | ||
.tvOS(.v9), | ||
.macOS(.v10_15), | ||
], | ||
products: [ | ||
.library(name: "IGListKit", targets: ["IGListKit"]) | ||
.library(name: "IGListDiffKit", | ||
type: .static , | ||
targets: ["IGListDiffKit"]), | ||
.library(name: "IGListKit", | ||
type: .static, | ||
targets: ["IGListKit"]), | ||
.library(name: "IGListSwiftKit", | ||
type: .static, | ||
targets: ["IGListSwiftKit"]), | ||
], | ||
targets: [ | ||
.target( | ||
name: "IGListDiffKit", | ||
path: "spm/Sources/IGListDiffKit" | ||
), | ||
.target( | ||
name: "IGListKit", | ||
path: "Source" | ||
) | ||
] | ||
dependencies: ["IGListDiffKit"], | ||
path: "spm/Sources/IGListKit" | ||
), | ||
.target( | ||
name: "IGListSwiftKit", | ||
dependencies: ["IGListKit"], | ||
path: "Source/IGListSwiftKit" | ||
), | ||
], | ||
cLanguageStandard: .c11, | ||
cxxLanguageStandard: .cxx11 | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.