XcodeGen/Package.swift
2017-09-14 21:28:09 +02:00

42 lines
1.4 KiB
Swift

// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "XcodeGen",
products: [
.executable(name: "XcodeGen", targets: ["XcodeGen"]),
.library(name: "XcodeGenKit", targets: ["XcodeGenKit"]),
],
dependencies: [
.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"),
.package(url: "https://github.com/swift-xcode/xcodeproj.git", from: "0.1.2"),
],
targets: [
.target(name: "XcodeGen", dependencies: [
"XcodeGenKit",
"Commander",
"Rainbow",
]),
.target(name: "XcodeGenKit", dependencies: [
"ProjectSpec",
"JSONUtilities",
"xcodeproj",
"PathKit",
]),
.target(name: "ProjectSpec", dependencies: [
"JSONUtilities",
"xcodeproj",
"Yams",
]),
.testTarget(name: "XcodeGenKitTests", dependencies: [
"XcodeGenKit",
])
]
)