mirror of
https://github.com/encounter/JSONAPI.git
synced 2026-03-30 11:18:38 -07:00
39 lines
1.0 KiB
Swift
39 lines
1.0 KiB
Swift
// swift-tools-version:5.1
|
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "JSONAPI",
|
|
platforms: [
|
|
.macOS(.v10_10),
|
|
.iOS(.v10)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "JSONAPI",
|
|
targets: ["JSONAPI"]),
|
|
.library(
|
|
name: "JSONAPITesting",
|
|
targets: ["JSONAPITesting"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/mattpolzin/Poly.git", .upToNextMajor(from: "2.0.0")),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "JSONAPI",
|
|
dependencies: ["Poly"]),
|
|
.target(
|
|
name: "JSONAPITesting",
|
|
dependencies: ["JSONAPI"]),
|
|
.testTarget(
|
|
name: "JSONAPITests",
|
|
dependencies: ["JSONAPI", "JSONAPITesting"]),
|
|
.testTarget(
|
|
name: "JSONAPITestingTests",
|
|
dependencies: ["JSONAPI", "JSONAPITesting"])
|
|
],
|
|
swiftLanguageVersions: [.v5]
|
|
)
|