Skip to content

Commit

Permalink
update package dependenices [make release]
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenebokhan committed Oct 28, 2020
1 parent 8d3287a commit 2023bed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 17 deletions.
17 changes: 4 additions & 13 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/s1ddok/Alloy.git",
.branch("swiftpm2")),
.upToNextMinor(from: "0.16.3")),
.package(url: "https://github.com/devicekit/DeviceKit.git",
from: "4.0.0"),
.upToNextMinor(from: "4.0.0")),
.package(url: "https://github.com/eugenebokhan/ResourcesBridge.git",
from: "0.0.2")
.upToNextMinor(from: "0.0.3"))
],
targets: [
.target(name: "SwiftSnapshotTesting",
Expand All @@ -27,15 +27,6 @@ let package = Package(
"DeviceKit",
"ResourcesBridge"
],
resources: [
.process("Shaders/Shaders.metal"),
],
swiftSettings: [
.define("SwiftPM")
],
linkerSettings: [
.linkedFramework("Metal"),
.linkedFramework("MetalPerformanceShaders")
])
resources: [.process("Shaders/Shaders.metal")])
]
)
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import Alloy
import Metal

final class EuclideanDistance {

Expand Down
6 changes: 3 additions & 3 deletions SwiftSnapshotTesting.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,16 +23,16 @@ Pod::Spec.new do |s|
s.subspec 'Device' do |device|
device.source_files = "Sources/**/*.{swift,metal,h}"
device.private_header_files = "Sources/**/*.{h}"
device.dependency "ResourcesBridge", "~> 0.0.1"
device.dependency "Alloy/Shaders", "~> 0.16.0"
device.dependency "ResourcesBridge", "~> 0.0.3"
device.dependency "Alloy/Shaders", "~> 0.16.3"
device.dependency "DeviceKit"
device.frameworks = "XCTest","UIKit","Foundation","QuartzCore"
end

s.subspec 'Simulator' do |simulator|
simulator.source_files = "Sources/**/*.{swift,metal,h}"
simulator.private_header_files = "Sources/**/*.{h}"
simulator.dependency "Alloy/Shaders", "~> 0.16.0"
simulator.dependency "Alloy/Shaders", "~> 0.16.3"
simulator.dependency "DeviceKit"
simulator.frameworks = "XCTest","UIKit","Foundation","QuartzCore"
end
Expand Down

0 comments on commit 2023bed

Please sign in to comment.