Skip to content

Commit

Permalink
Use SwiftPackageList to generate acknowledgements.
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Aug 5, 2024
1 parent 6a45ffc commit 968c280
Show file tree
Hide file tree
Showing 5 changed files with 52 additions and 1 deletion.
19 changes: 19 additions & 0 deletions ElementX.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -5428,6 +5428,7 @@
);
dependencies = (
2C29670603B37E38705D5FF1 /* PBXTargetDependency */,
EE71FC0158F8EBAC1EF4512C /* PBXTargetDependency */,
);
name = ElementX;
packageProductDependencies = (
Expand Down Expand Up @@ -5606,6 +5607,7 @@
A08925A9D5E3770DEB9D8509 /* XCRemoteSwiftPackageReference "sentry-cocoa" */,
E9C4F3A12AA1F65C13A8C8EB /* XCRemoteSwiftPackageReference "swift-snapshot-testing" */,
E2F3DA35D462724CCC61DE2C /* XCRemoteSwiftPackageReference "swift-ogg" */,
EF1235ABB7E5898A76190682 /* XCRemoteSwiftPackageReference "swift-package-list" */,
6582B5AF3F104B0F7E031E7D /* XCRemoteSwiftPackageReference "SwiftState" */,
EC6D0C817B1C21D9D096505A /* XCRemoteSwiftPackageReference "Version" */,
44FA555384AD79668D886043 /* XCRemoteSwiftPackageReference "matrix-rich-text-editor-swift" */,
Expand Down Expand Up @@ -6866,6 +6868,10 @@
isa = PBXTargetDependency;
productRef = 7D8AF269E16478B19C7F7613 /* PrefireTestsPlugin */;
};
EE71FC0158F8EBAC1EF4512C /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
productRef = 2CDA9FFD86D87F73B10A1C46 /* SwiftPackageListPlugin */;
};
/* End PBXTargetDependency section */

/* Begin PBXVariantGroup section */
Expand Down Expand Up @@ -7664,6 +7670,14 @@
minimumVersion = 2.0.0;
};
};
EF1235ABB7E5898A76190682 /* XCRemoteSwiftPackageReference "swift-package-list" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/FelixHerrmann/swift-package-list/";
requirement = {
kind = upToNextMinorVersion;
minimumVersion = 4.2.0;
};
};
F71C70A4404CC6D9C4AF35F2 /* XCRemoteSwiftPackageReference "compound-ios" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/element-hq/compound-ios";
Expand Down Expand Up @@ -7758,6 +7772,11 @@
package = EC6D0C817B1C21D9D096505A /* XCRemoteSwiftPackageReference "Version" */;
productName = Version;
};
2CDA9FFD86D87F73B10A1C46 /* SwiftPackageListPlugin */ = {
isa = XCSwiftPackageProductDependency;
package = EF1235ABB7E5898A76190682 /* XCRemoteSwiftPackageReference "swift-package-list" */;
productName = "plugin:SwiftPackageListPlugin";
};
36B7FC232711031AA2B0D188 /* DTCoreText */ = {
isa = XCSwiftPackageProductDependency;
package = C13F55E4518415CB4C278E73 /* XCRemoteSwiftPackageReference "DTCoreText" */;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "1b1fb14b1ac1438c44ffd2f0151af65c83018d71b8674cd7f13ec21abeb31bcd",
"originHash" : "0398b7f18acf7b280649a66db5b5636f6e6f307823c890404d03246945ac5685",
"pins" : [
{
"identity" : "compound-design-tokens",
Expand Down Expand Up @@ -216,6 +216,15 @@
"version" : "1.0.0"
}
},
{
"identity" : "swift-argument-parser",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-argument-parser",
"state" : {
"revision" : "41982a3656a71c768319979febd796c6fd111d5c",
"version" : "1.5.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
Expand Down Expand Up @@ -243,6 +252,15 @@
"version" : "0.0.3"
}
},
{
"identity" : "swift-package-list",
"kind" : "remoteSourceControl",
"location" : "https://github.com/FelixHerrmann/swift-package-list/",
"state" : {
"revision" : "01f2e9860c122dd8c3ae2a7e642b85bbb053efe3",
"version" : "4.2.0"
}
},
{
"identity" : "swift-snapshot-testing",
"kind" : "remoteSourceControl",
Expand Down
4 changes: 4 additions & 0 deletions ElementX/SupportingFiles/target.yml
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,10 @@ targets:
echo "warning: SwiftFormat not installed, download from https://github.com/nicklockwood/SwiftFormat"
fi
buildToolPlugins:
- plugin: SwiftPackageListPlugin
package: SwiftPackageList

dependencies:
- target: NSE
# not used yet
Expand Down
3 changes: 3 additions & 0 deletions project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,9 @@ packages:
SwiftState:
url: https://github.com/ReactKit/SwiftState
minorVersion: 6.0.0
SwiftPackageList:
url: https://github.com/FelixHerrmann/swift-package-list/
minorVersion: 4.2.0
Version:
url: https://github.com/mxcl/Version
minorVersion: 2.0.0
Expand Down
7 changes: 7 additions & 0 deletions swift-package-list-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"projectPath": "ElementX.xcodeproj",
"project": {
"outputType": "settings-bundle",
"requiresLicense": true
}
}

0 comments on commit 968c280

Please sign in to comment.