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"),
|
2017-12-17 00:11:03 +03:00
|
|
|
.package(url: "https://github.com/kylef/Commander.git", from: "0.8.0"),
|
2018-09-13 16:05:01 +03:00
|
|
|
.package(url: "https://github.com/jpsim/Yams.git", from: "1.0.0"),
|
2018-06-25 13:46:48 +03:00
|
|
|
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "4.0.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"),
|
2018-10-04 13:25:18 +03:00
|
|
|
.package(url: "https://github.com/tuist/xcodeproj.git", .branch("master")),
|
2017-09-14 01:48:57 +03:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(name: "XcodeGen", dependencies: [
|
|
|
|
"XcodeGenKit",
|
|
|
|
"Commander",
|
|
|
|
"Rainbow",
|
|
|
|
]),
|
|
|
|
.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",
|
2018-07-22 05:07:45 +03:00
|
|
|
"Spectre",
|
2017-09-14 01:48:57 +03:00
|
|
|
])
|
2017-07-19 15:55:01 +03:00
|
|
|
]
|
|
|
|
)
|