XcodeGen/Package.swift

55 lines
1.7 KiB
Swift
Raw Normal View History

2018-10-04 13:25:18 +03:00
// swift-tools-version:4.2
2017-07-19 15:55:01 +03:00
import PackageDescription
let package = Package(
name: "XcodeGen",
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: [
2017-12-26 17:49:17 +03:00
.package(url: "https://github.com/kylef/PathKit.git", from: "0.9.0"),
2018-09-13 16:05:01 +03:00
.package(url: "https://github.com/jpsim/Yams.git", from: "1.0.0"),
2018-10-14 13:49:51 +03:00
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "4.1.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("6.4.0")),
2018-11-10 16:42:21 +03:00
.package(url: "https://github.com/jakeheis/SwiftCLI.git", from: "5.2.0"),
2017-09-14 01:48:57 +03:00
],
targets: [
.target(name: "XcodeGen", dependencies: [
2018-11-10 16:42:21 +03:00
"XcodeGenCLI",
]),
.target(name: "XcodeGenCLI", dependencies: [
2017-09-14 01:48:57 +03:00
"XcodeGenKit",
2018-11-10 16:42:21 +03:00
"ProjectSpec",
"SwiftCLI",
2017-09-14 01:48:57 +03:00
"Rainbow",
2018-11-10 16:42:21 +03:00
"PathKit",
2017-09-14 01:48:57 +03:00
]),
.target(name: "XcodeGenKit", dependencies: [
"ProjectSpec",
"JSONUtilities",
2018-09-25 14:08:11 +03:00
"xcodeproj",
2017-09-14 01:48:57 +03:00
"PathKit",
]),
.target(name: "ProjectSpec", dependencies: [
"JSONUtilities",
2018-09-25 14:08:11 +03:00
"xcodeproj",
2017-09-14 01:48:57 +03:00
"Yams",
]),
.testTarget(name: "XcodeGenKitTests", dependencies: [
"XcodeGenKit",
"Spectre",
2018-11-08 11:56:09 +03:00
"PathKit",
2018-11-03 12:27:59 +03:00
]),
.testTarget(name: "PerformanceTests", dependencies: [
"XcodeGenKit",
"Spectre",
2018-11-08 11:56:09 +03:00
"PathKit",
2017-09-14 01:48:57 +03:00
])
2017-07-19 15:55:01 +03:00
]
)