-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
33 lines (31 loc) · 1.08 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "OpenAPIReflection",
products: [
.library(
name: "OpenAPIReflection",
targets: ["OpenAPIReflection"]),
.library(
name: "OpenAPIReflection30",
targets: ["OpenAPIReflection30"]),
],
dependencies: [
.package(url: "https://github.com/mattpolzin/OpenAPIKit.git", from: "3.0.0"),
.package(url: "https://github.com/mattpolzin/Sampleable.git", from: "2.1.0")
],
targets: [
.target(
name: "OpenAPIReflection30",
dependencies: [.product(name: "OpenAPIKit30", package: "OpenAPIKit"), "Sampleable"]),
.testTarget(
name: "OpenAPIReflection30Tests",
dependencies: ["OpenAPIReflection30"]),
.target(
name: "OpenAPIReflection",
dependencies: [.product(name: "OpenAPIKit", package: "OpenAPIKit"), "Sampleable"]),
.testTarget(
name: "OpenAPIReflectionTests",
dependencies: ["OpenAPIReflection"]),
]
)