Skip to content
This repository was archived by the owner on Feb 17, 2025. It is now read-only.

Commit 8119c43

Browse files
committed
Update to SwiftPM
1 parent 509d5b4 commit 8119c43

File tree

8 files changed

+63
-1879
lines changed

8 files changed

+63
-1879
lines changed

MonadicJSON.xcodeproj/project.xcworkspace/contents.xcworkspacedata renamed to .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Binary file not shown.

Cartfile.private

Lines changed: 0 additions & 1 deletion
This file was deleted.

Cartfile.resolved

Lines changed: 0 additions & 1 deletion
This file was deleted.

MonadicJSON.xcodeproj/project.pbxproj

Lines changed: 0 additions & 1855 deletions
This file was deleted.

MonadicJSON.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist

Lines changed: 0 additions & 8 deletions
This file was deleted.

Package.resolved

Lines changed: 43 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 19 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,40 @@
1-
// swift-tools-version:4.2
1+
// swift-tools-version:5.1
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

66
let package = Package(
77
name: "MonadicJSON",
8+
platforms: [
9+
.macOS(.v10_15), .iOS(.v13), .watchOS(.v6), .tvOS(.v13),
10+
],
811
products: [
912
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1013
.library(
1114
name: "MonadicJSON",
12-
targets: ["MonadicJSON"]),
15+
targets: ["MonadicJSON"]
16+
),
1317
],
1418
dependencies: [
15-
// Dependencies declare other packages that this package depends on.
16-
.package(url: "https://github.com/typelift/SwiftCheck.git", from: "0.12.0"),
19+
// Dev deps
20+
.package(url: "https://github.com/typelift/SwiftCheck", from: "0.12.0"),
1721
],
1822
targets: [
1923
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
2024
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
2125
.target(
2226
name: "MonadicJSON",
23-
dependencies: []),
24-
.testTarget(
25-
name: "MonadicJSON macOSTests",
26-
dependencies: ["MonadicJSON", "SwiftCheck"]),
27-
.testTarget(
28-
name: "MonadicJSON iOSTests",
29-
dependencies: ["MonadicJSON", "SwiftCheck"]),
27+
dependencies: [
28+
],
29+
path: "Sources"
30+
),
3031
.testTarget(
31-
name: "MonadicJSON tvOSTests",
32-
dependencies: ["MonadicJSON", "SwiftCheck"]),
32+
name: "MonadicJSONTests",
33+
dependencies: [
34+
"MonadicJSON",
35+
"SwiftCheck",
36+
],
37+
path: "Tests"
38+
),
3339
]
3440
)

0 commit comments

Comments
 (0)