XcodeGen/Package.swift

50 lines
1.6 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"),
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-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"),
2018-10-18 14:51:36 +03:00
.package(url: "https://github.com/tuist/xcodeproj.git", from: "6.3.0"),
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",
"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
]
)