forked from pointfreeco/swift-tagged
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
30 lines (26 loc) · 912 Bytes
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
// swift-tools-version:5.0
import Foundation
import PackageDescription
var package = Package(
name: "Tagged",
products: [
.library(name: "Tagged", targets: ["Tagged"]),
.library(name: "TaggedMoney", targets: ["TaggedMoney"]),
.library(name: "TaggedTime", targets: ["TaggedTime"]),
],
targets: [
.target(name: "Tagged", dependencies: []),
.testTarget(name: "TaggedTests", dependencies: ["Tagged"]),
.target(name: "TaggedMoney", dependencies: ["Tagged"]),
.testTarget(name: "TaggedMoneyTests", dependencies: ["TaggedMoney"]),
.target(name: "TaggedTime", dependencies: ["Tagged"]),
.testTarget(name: "TaggedTimeTests", dependencies: ["TaggedTime"]),
]
)
if ProcessInfo.processInfo.environment.keys.contains("PF_DEVELOP") {
package.dependencies.append(
contentsOf: [
.package(url: "https://github.com/yonaskolb/XcodeGen.git", from: "2.3.0"),
]
)
}