Skip to content

Commit

Permalink
Update to SPM format
Browse files Browse the repository at this point in the history
  • Loading branch information
IanKeen committed Nov 29, 2021
1 parent fab1a2e commit 74eeebd
Show file tree
Hide file tree
Showing 78 changed files with 82 additions and 5 deletions.
4 changes: 2 additions & 2 deletions DropBear.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |spec|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

spec.name = 'DropBear'
spec.version = '0.13.0'
spec.version = '0.14.0'
spec.homepage = 'https://github.com/IanKeen/DropBear'
spec.summary = 'A marvellous UI testing framework.'
spec.description = <<-DESC
Expand Down Expand Up @@ -31,7 +31,7 @@ Pod::Spec.new do |spec|

# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

spec.source_files = 'DropBear/**/*.swift'
spec.source_files = 'Sources/DropBear/**/*.swift'

# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

Expand Down
11 changes: 11 additions & 0 deletions DropBearApp/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// swift-tools-version:5.3

// Leave blank. This is only here so that Xcode doesn't display it.

import PackageDescription

let package = Package(
name: "App",
products: [],
targets: []
)
11 changes: 11 additions & 0 deletions DropBearAppUITests/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
// swift-tools-version:5.3

// Leave blank. This is only here so that Xcode doesn't display it.

import PackageDescription

let package = Package(
name: "AppUITests",
products: [],
targets: []
)
2 changes: 1 addition & 1 deletion DropBearGen.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |spec|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

spec.name = 'DropBearGen'
spec.version = '0.13.0'
spec.version = '0.14.0'
spec.homepage = 'https://github.com/IanKeen/DropBear'
spec.summary = 'A companion framework for DropBear that generates code for accessibility identifiers.'
spec.description = <<-DESC
Expand Down
4 changes: 2 additions & 2 deletions DropBearSupport.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Pod::Spec.new do |spec|
# ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

spec.name = 'DropBearSupport'
spec.version = '0.13.0'
spec.version = '0.14.0'
spec.homepage = 'https://github.com/IanKeen/DropBear'
spec.summary = 'An app-side companion to DropBear.'
spec.description = <<-DESC
Expand Down Expand Up @@ -31,7 +31,7 @@ Pod::Spec.new do |spec|

# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

spec.source_files = 'DropBearSupport/**/*.swift'
spec.source_files = 'Sources/DropBearSupport/**/*.swift'

# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #

Expand Down
38 changes: 38 additions & 0 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
// swift-tools-version:5.3
import Foundation
import PackageDescription

let package = Package(
name: "DropBear",
platforms: [.iOS(.v10)],
products: [
.library(name: "DropBear", targets: ["DropBear"]),
.library(name: "DropBearSupport", targets: ["DropBearSupport"]),
],
dependencies: [
],
targets: [
// Library
.target(
name: "DropBear",
exclude: ["Info.plist", "DropBear.h"],
linkerSettings: [.linkedFramework("XCTest")]
),
.testTarget(
name: "DropBearTests",
dependencies: ["DropBear"],
exclude: ["Info.plist"]
),

// App Support
.target(
name: "DropBearSupport",
exclude: ["Info.plist", "DropBearSupport.h"]
),
.testTarget(
name: "DropBearSupportTests",
dependencies: ["DropBearSupport"],
exclude: ["Info.plist"]
),
]
)

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@ public enum DropBear {
timer.cancel()
}
}

Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import Foundation

extension ElementAssertion {
public static var exists: ElementAssertion {
return exists(waiting: DropBear.defaultWaitTime)
Expand Down
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.
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.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file added Sources/DropBearGen/dropbeargen-0.13.0.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 74eeebd

Please sign in to comment.