mirror of
https://github.com/yonaskolb/XcodeGen.git
synced 2024-09-11 12:56:03 +03:00
* Squashed commit of the following: commit 0bcdce0d1f0f1d13fb5a284404e4eaea4e805a89 Author: Vlad Gorlov <volodymyr.gorlov@gmail.com> Date: Fri Jun 18 00:58:50 2021 +0200 [#1092] Dependency version update. commit 0040c46fd4ce9f42102faeb744104027b6c2c757 Author: Bruce Evans <bruce.evans.dev@gmail.com> Date: Wed Jun 16 09:12:01 2021 +0900 Add Support for DocC in Xcode 13 (#1091) * Add support for DocC DocC "files" are actually folders `.docc` appended to the name, but Xcode 13 treats them differently. Therefore, we need to exclude them from the normal BuildPhase. Resolves #1089 * Add tests for DocC Expanded an existing test to include .docc support. Also added a .docc catalog to the Test Project. * Update changelog.md * Update changelog.md to get the correct PR Link commit 5bb7ef4e1c632f80f63c49ee280d64b8dab1603f Author: Vlad Gorlov <volodymyr.gorlov@gmail.com> Date: Wed Jun 16 01:03:42 2021 +0200 Added support for missed product types. commit 3f8bfdf749d0d15da8490550b95a31cf961d8649 Author: Vlad Gorlov <volodymyr.gorlov@gmail.com> Date: Wed Jun 16 00:01:47 2021 +0200 Added support for missed product types. commit 235ebe4fe906716a6a37421346318fc6515836ce Author: Vlad Gorlov <volodymyr.gorlov@gmail.com> Date: Tue Jun 15 23:53:52 2021 +0200 Added support for missed product types. * [#1094] Fixes failing tests. * [#1094] Added test project targets. * [#1094] Making iig-file type of source code. * [#1094] Attempt to fix CI failure.
93 lines
2.9 KiB
Swift
93 lines
2.9 KiB
Swift
// swift-tools-version:5.0
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "XcodeGen",
|
|
platforms: [.macOS(.v10_13)],
|
|
products: [
|
|
.executable(name: "xcodegen", targets: ["XcodeGen"]),
|
|
.library(name: "XcodeGenKit", targets: ["XcodeGenKit"]),
|
|
.library(name: "ProjectSpec", targets: ["ProjectSpec"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.0"),
|
|
.package(url: "https://github.com/jpsim/Yams.git", from: "4.0.0"),
|
|
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "4.2.0"),
|
|
.package(url: "https://github.com/kylef/Spectre.git", from: "0.9.2"),
|
|
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
|
|
.package(url: "https://github.com/tuist/XcodeProj.git", from: "8.0.0"),
|
|
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "6.0.0"),
|
|
.package(url: "https://github.com/mxcl/Version", from: "2.0.0"),
|
|
.package(url: "https://github.com/SwiftDocOrg/GraphViz.git", .exact("0.2.0")),
|
|
],
|
|
targets: [
|
|
.target(name: "XcodeGen", dependencies: [
|
|
"XcodeGenCLI",
|
|
"Version",
|
|
]),
|
|
.target(name: "XcodeGenCLI", dependencies: [
|
|
"XcodeGenKit",
|
|
"ProjectSpec",
|
|
"SwiftCLI",
|
|
"Rainbow",
|
|
"PathKit",
|
|
"Version",
|
|
]),
|
|
.target(name: "XcodeGenKit", dependencies: [
|
|
"ProjectSpec",
|
|
"JSONUtilities",
|
|
"XcodeProj",
|
|
"PathKit",
|
|
"XcodeGenCore",
|
|
"GraphViz",
|
|
]),
|
|
.target(name: "ProjectSpec", dependencies: [
|
|
"JSONUtilities",
|
|
"XcodeProj",
|
|
"Yams",
|
|
"XcodeGenCore",
|
|
"Version",
|
|
]),
|
|
.target(name: "XcodeGenCore", dependencies: [
|
|
"PathKit",
|
|
"Yams",
|
|
]),
|
|
.target(name: "TestSupport", dependencies: [
|
|
"XcodeProj",
|
|
"Spectre",
|
|
"PathKit",
|
|
]),
|
|
.testTarget(name: "XcodeGenKitTests", dependencies: [
|
|
"XcodeGenKit",
|
|
"Spectre",
|
|
"PathKit",
|
|
"TestSupport",
|
|
]),
|
|
.testTarget(name: "FixtureTests", dependencies: [
|
|
"XcodeGenKit",
|
|
"Spectre",
|
|
"PathKit",
|
|
"TestSupport",
|
|
]),
|
|
.testTarget(name: "XcodeGenCoreTests", dependencies: [
|
|
"XcodeGenCore",
|
|
"Spectre",
|
|
"PathKit",
|
|
"TestSupport",
|
|
]),
|
|
.testTarget(name: "ProjectSpecTests", dependencies: [
|
|
"ProjectSpec",
|
|
"Spectre",
|
|
"PathKit",
|
|
"TestSupport",
|
|
]),
|
|
.testTarget(name: "PerformanceTests", dependencies: [
|
|
"XcodeGenKit",
|
|
"Spectre",
|
|
"PathKit",
|
|
"TestSupport",
|
|
]),
|
|
]
|
|
)
|