-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Swift Package Manager support (#3)
- Loading branch information
Showing
4 changed files
with
49 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.swiftpm/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
{ | ||
"object": { | ||
"pins": [ | ||
{ | ||
"package": "SnapshotTesting", | ||
"repositoryURL": "https://github.com/pointfreeco/swift-snapshot-testing.git", | ||
"state": { | ||
"branch": null, | ||
"revision": "f8a9c997c3c1dab4e216a8ec9014e23144cbab37", | ||
"version": "1.9.0" | ||
} | ||
} | ||
] | ||
}, | ||
"version": 1 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
// swift-tools-version:5.2 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "ios-accessibility-text-snapshot", | ||
platforms: [ | ||
.iOS(.v12), | ||
], | ||
products: [ | ||
.library( | ||
name: "ios-accessibility-text-snapshot", | ||
targets: ["ios-accessibility-text-snapshot"] | ||
), | ||
], | ||
dependencies: [ | ||
.package( | ||
name: "SnapshotTesting", | ||
url: "https://github.com/pointfreeco/swift-snapshot-testing.git", | ||
.upToNextMajor(from: "1.8.0") | ||
) | ||
], | ||
targets: [ | ||
.target( | ||
name: "ios-accessibility-text-snapshot", | ||
dependencies: ["SnapshotTesting"], | ||
path: "Sources" | ||
) | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
import Foundation | ||
import UIKit | ||
|
||
import SnapshotTesting | ||
|
||
|