-
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.
Merge pull request #3 from eugenebokhan/swiftpm
Introduce SwiftPM Support [make release]
- Loading branch information
Showing
14 changed files
with
48 additions
and
4 deletions.
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 |
---|---|---|
|
@@ -89,3 +89,5 @@ fastlane/test_output | |
|
||
iOSInjectionProject/ | ||
*.DS_Store | ||
.swiftpm | ||
Package.resolved |
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,41 @@ | ||
// swift-tools-version:5.3 | ||
|
||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "SwiftSnapshotTesting", | ||
platforms: [ | ||
.iOS(.v12), | ||
.macOS(.v10_14) | ||
], | ||
products: [ | ||
.library(name: "SwiftSnapshotTesting", | ||
targets: ["SwiftSnapshotTesting"]), | ||
], | ||
dependencies: [ | ||
.package(url: "https://github.com/s1ddok/Alloy.git", | ||
.branch("swiftpm2")), | ||
.package(url: "https://github.com/devicekit/DeviceKit.git", | ||
from: "4.0.0"), | ||
.package(url: "https://github.com/eugenebokhan/ResourcesBridge.git", | ||
from: "0.0.2") | ||
], | ||
targets: [ | ||
.target(name: "SwiftSnapshotTesting", | ||
dependencies: [ | ||
"Alloy", | ||
"DeviceKit", | ||
"ResourcesBridge" | ||
], | ||
resources: [ | ||
.process("Shaders/Shaders.metal"), | ||
], | ||
swiftSettings: [ | ||
.define("SwiftPM") | ||
], | ||
linkerSettings: [ | ||
.linkedFramework("Metal"), | ||
.linkedFramework("MetalPerformanceShaders") | ||
]) | ||
] | ||
) |
1 change: 1 addition & 0 deletions
1
Sources/Encoders/EuclideanDistance.swift → ...tTesting/Encoders/EuclideanDistance.swift
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,5 @@ | ||
import Alloy | ||
import Metal | ||
|
||
final class EuclideanDistance { | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...ons/CoreGraphics/CGPoint+Extensions.swift → ...ons/CoreGraphics/CGPoint+Extensions.swift
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
2 changes: 1 addition & 1 deletion
2
...ions/CoreGraphics/CGSize+Extensions.swift → ...ions/CoreGraphics/CGSize+Extensions.swift
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
2 changes: 1 addition & 1 deletion
2
...oreGraphics/CoreGraphics+Extensions.swift → ...oreGraphics/CoreGraphics+Extensions.swift
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 CoreGraphics | ||
|
||
extension CGRect { | ||
func normalized(reference: CGRect) -> CGRect { | ||
|
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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