-
Notifications
You must be signed in to change notification settings - Fork 59
/
Package.swift
33 lines (31 loc) · 882 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
31
32
33
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "OpenGraph",
platforms: [
.macOS(.v10_15), .iOS(.v10), .tvOS(.v9), .watchOS(.v2)
],
products: [
.library(name: "OpenGraph", targets: ["OpenGraph"]),
],
dependencies: [
.package(url: "https://github.com/AliSoftware/OHHTTPStubs", .upToNextMajor(from: "9.0.0")),
],
targets: [
.target(
name: "OpenGraph",
path: "Sources/OpenGraph",
exclude: ["Info.plist"]
),
.testTarget(
name: "OpenGraphTests",
dependencies: [
"OpenGraph",
.product(name: "OHHTTPStubsSwift", package: "OHHTTPStubs")
],
path: "Tests",
resources: [.process("Resources")]
),
],
swiftLanguageVersions: [.v5]
)