XcodeGen/Package.swift

44 lines
1.4 KiB
Swift
Raw Normal View History

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-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"),
2017-09-14 01:48:57 +03:00
.package(url: "https://github.com/jpsim/Yams.git", from: "0.3.6"),
.package(url: "https://github.com/yonaskolb/JSONUtilities.git", from: "3.3.0"),
2017-12-17 00:11:03 +03:00
.package(url: "https://github.com/kylef/Spectre.git", from: "0.8.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/xcodeswift/xcproj.git", from: "1.7.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-12-17 00:11:03 +03:00
"Spectre"
2017-09-14 01:48:57 +03:00
])
2017-07-19 15:55:01 +03:00
]
)