-
-
Notifications
You must be signed in to change notification settings - Fork 14
/
Package.swift
26 lines (25 loc) · 999 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "SwiftSimctl",
platforms: [
.iOS(.v11),
.tvOS(.v11),
.macOS(.v10_12)
],
products: [
.executable(name: "SimctlCLI", targets: ["SimctlCLI"]),
.library(name: "Simctl", targets: ["Simctl"])
],
dependencies: [
.package(name: "swift-argument-parser", url: "https://github.com/apple/swift-argument-parser", from: "1.2.2"),
.package(name: "ShellOut", url: "https://github.com/JohnSundell/ShellOut.git", from: "2.3.0"),
.package(name: "Swifter", url: "https://github.com/httpswift/swifter.git", from: "1.5.0")
],
targets: [
.target(name: "SimctlShared"),
.target(name: "SimctlCLI", dependencies: ["SimctlShared", "ShellOut", "Swifter", .product(name: "ArgumentParser", package: "swift-argument-parser")]),
.target(name: "Simctl", dependencies: ["SimctlShared"])
],
swiftLanguageVersions: [.v5]
)