-
Notifications
You must be signed in to change notification settings - Fork 42
/
Package.swift
44 lines (42 loc) · 1.93 KB
/
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "Mobius",
platforms: [
.iOS(.v10),
.macOS(.v10_12),
.tvOS(.v10),
.watchOS(.v3),
],
products: [
.library(name: "MobiusCore", targets: ["MobiusCore"]),
.library(name: "MobiusExtras", targets: ["MobiusExtras"]),
.library(name: "MobiusNimble", targets: ["MobiusNimble"]),
.library(name: "MobiusTest", targets: ["MobiusTest"]),
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-case-paths", .upToNextMinor(from: "0.10.1")),
.package(url: "https://github.com/Quick/Nimble", from: "10.0.0"),
.package(url: "https://github.com/Quick/Quick", from: "5.0.1"),
],
targets: [
.target(name: "MobiusCore", dependencies: ["CasePaths"], path: "MobiusCore/Source"),
.target(name: "MobiusExtras", dependencies: ["MobiusCore"], path: "MobiusExtras/Source"),
.target(name: "MobiusNimble", dependencies: ["MobiusCore", "MobiusTest", "Nimble"], path: "MobiusNimble/Source"),
.target(name: "MobiusTest", dependencies: ["MobiusCore"], path: "MobiusTest/Source"),
.target(name: "MobiusThrowableAssertion", path: "MobiusThrowableAssertion/Source"),
.testTarget(
name: "MobiusCoreTests",
dependencies: ["MobiusCore", "Nimble", "Quick", "MobiusThrowableAssertion"],
path: "MobiusCore/Test"
),
.testTarget(
name: "MobiusExtrasTests",
dependencies: ["MobiusCore", "MobiusExtras", "Nimble", "Quick", "MobiusThrowableAssertion"],
path: "MobiusExtras/Test"
),
.testTarget(name: "MobiusNimbleTests", dependencies: ["MobiusNimble", "Quick"], path: "MobiusNimble/Test"),
.testTarget(name: "MobiusTestTests", dependencies: ["MobiusTest", "Quick", "Nimble"], path: "MobiusTest/Test"),
],
swiftLanguageVersions: [.v5]
)