XcodeGen/Package.swift

56 lines
1.8 KiB
Swift
Raw Normal View History

2019-03-27 10:36:08 +03:00
// swift-tools-version:5.0
2017-07-19 15:55:01 +03:00
import PackageDescription
let package = Package(
name: "XcodeGen",
2019-09-30 19:04:38 +03:00
platforms: [.macOS(.v10_13)],
2017-09-14 01:48:57 +03:00
products: [
2017-12-27 12:50:30 +03:00
.executable(name: "xcodegen", targets: ["XcodeGen"]),
2017-09-14 01:48:57 +03:00
.library(name: "XcodeGenKit", targets: ["XcodeGenKit"]),
2017-11-18 02:15:23 +03:00
.library(name: "ProjectSpec", targets: ["ProjectSpec"]),
2017-07-19 15:55:01 +03:00
],
dependencies: [
2019-06-08 00:08:46 +03:00
.package(url: "https://github.com/kylef/PathKit.git", from: "1.0.0"),
2019-04-09 15:13:42 +03:00
.package(url: "https://github.com/jpsim/Yams.git", from: "2.0.0"),
2019-04-09 15:20:47 +03:00
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "4.2.0"),
2018-09-13 16:05:01 +03:00
.package(url: "https://github.com/kylef/Spectre.git", from: "0.9.0"),
2017-12-16 23:55:07 +03:00
.package(url: "https://github.com/onevcat/Rainbow.git", from: "3.0.0"),
.package(url: "https://github.com/tuist/xcodeproj.git", .exact("7.1.0")),
2019-10-05 12:11:31 +03:00
.package(url: "https://github.com/jakeheis/SwiftCLI.git", .upToNextMinor(from: "5.3.2")),
2017-09-14 01:48:57 +03:00
],
targets: [
.target(name: "XcodeGen", dependencies: [
2019-01-28 14:19:02 +03:00
"XcodeGenCLI",
2018-11-10 16:42:21 +03:00
]),
.target(name: "XcodeGenCLI", dependencies: [
2019-01-28 14:19:02 +03:00
"XcodeGenKit",
"ProjectSpec",
"SwiftCLI",
"Rainbow",
"PathKit",
2017-09-14 01:48:57 +03:00
]),
.target(name: "XcodeGenKit", dependencies: [
2019-01-28 14:19:02 +03:00
"ProjectSpec",
"JSONUtilities",
2019-06-08 00:08:46 +03:00
"XcodeProj",
2019-01-28 14:19:02 +03:00
"PathKit",
2017-09-14 01:48:57 +03:00
]),
.target(name: "ProjectSpec", dependencies: [
2019-01-28 14:19:02 +03:00
"JSONUtilities",
2019-06-08 00:08:46 +03:00
"XcodeProj",
2019-01-28 14:19:02 +03:00
"Yams",
2017-09-14 01:48:57 +03:00
]),
.testTarget(name: "XcodeGenKitTests", dependencies: [
2019-01-28 14:19:02 +03:00
"XcodeGenKit",
"Spectre",
"PathKit",
2018-11-03 12:27:59 +03:00
]),
.testTarget(name: "PerformanceTests", dependencies: [
2019-01-28 14:19:02 +03:00
"XcodeGenKit",
"Spectre",
"PathKit",
]),
2017-07-19 15:55:01 +03:00
]
)