2017-09-14 01:48:57 +03:00
|
|
|
// swift-tools-version:4.0
|
2017-07-19 15:55:01 +03:00
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "XcodeGen",
|
2017-09-14 01:48:57 +03:00
|
|
|
products: [
|
|
|
|
.executable(name: "XcodeGen", targets: ["XcodeGen"]),
|
|
|
|
.library(name: "XcodeGenKit", targets: ["XcodeGenKit"]),
|
2017-07-19 15:55:01 +03:00
|
|
|
],
|
|
|
|
dependencies: [
|
2017-09-14 01:48:57 +03:00
|
|
|
.package(url: "https://github.com/kylef/PathKit.git", from: "0.8.0"),
|
|
|
|
.package(url: "https://github.com/kylef/Commander.git", from: "0.6.1"),
|
|
|
|
.package(url: "https://github.com/jpsim/Yams.git", from: "0.3.6"),
|
|
|
|
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "3.3.0"),
|
|
|
|
.package(url: "https://github.com/kylef/Spectre.git", from: "0.7.0"),
|
|
|
|
.package(url: "https://github.com/onevcat/Rainbow.git", from: "2.1.0"),
|
2017-10-24 21:30:44 +03:00
|
|
|
.package(url: "https://github.com/xcodeswift/xcproj.git", from: "1.0.0"),
|
2017-09-14 01:48:57 +03:00
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(name: "XcodeGen", dependencies: [
|
|
|
|
"XcodeGenKit",
|
|
|
|
"Commander",
|
|
|
|
"Rainbow",
|
|
|
|
]),
|
|
|
|
.target(name: "XcodeGenKit", dependencies: [
|
|
|
|
"ProjectSpec",
|
|
|
|
"JSONUtilities",
|
2017-10-01 12:42:07 +03:00
|
|
|
"xcproj",
|
2017-09-14 01:48:57 +03:00
|
|
|
"PathKit",
|
|
|
|
]),
|
|
|
|
.target(name: "ProjectSpec", dependencies: [
|
|
|
|
"JSONUtilities",
|
2017-10-01 12:42:07 +03:00
|
|
|
"xcproj",
|
2017-09-14 01:48:57 +03:00
|
|
|
"Yams",
|
|
|
|
]),
|
|
|
|
.testTarget(name: "XcodeGenKitTests", dependencies: [
|
|
|
|
"XcodeGenKit",
|
|
|
|
])
|
2017-07-19 15:55:01 +03:00
|
|
|
]
|
|
|
|
)
|