IGListKit/Package.swift
Tim Oliver 7e6a493dca General fixes to restore GitHub CI (#1622)
Summary:
The GitHub CI seems to be failing still since we added some new header files and didn't include the necessary ones in the IGListKit.h umbrella header.

This PR:

* Updates the umbrella header to include the new header files
* Updates the visibility of the private headers so they don't need to be included in the umbrella.
* Does a general clean-up of the Xcode project, re-ordering all of the newly imported files.

Assuming this all passes the external CI, we can land it in Phabricator.

Pull Request resolved: https://github.com/Instagram/IGListKit/pull/1622

Test Plan: GitHub CI has passed: https://github.com/Instagram/IGListKit/actions/runs/13851019458

Reviewed By: fabiomassimo

Differential Revision: D71178515

Pulled By: TimOliver

fbshipit-source-id: 1ea643a7bc7a401c45af2776c2a66e3b806035d7
2025-03-14 23:56:06 -07:00

38 lines
1 KiB
Swift

// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "IGListKit",
platforms: [ .iOS(.v11),
.tvOS(.v11),
.macOS(.v10_13),
],
products: [
.library(name: "IGListDiffKit",
targets: ["IGListDiffKit"]),
.library(name: "IGListKit",
targets: ["IGListKit"]),
.library(name: "IGListSwiftKit",
targets: ["IGListSwiftKit"]),
],
targets: [
.target(
name: "IGListDiffKit",
path: "spm/Sources/IGListDiffKit",
publicHeadersPath: "include"
),
.target(
name: "IGListKit",
dependencies: ["IGListDiffKit"],
path: "spm/Sources/IGListKit",
publicHeadersPath: "include"
),
.target(
name: "IGListSwiftKit",
dependencies: ["IGListKit"],
path: "spm/Sources/IGListSwiftKit"
),
],
cLanguageStandard: .c11,
cxxLanguageStandard: .cxx11
)