Skip to content

Commit 6350481

Browse files
committed
a light lint pass on the package.swift files
also rebased off of develop as it had been updated from when I started this PR till now
1 parent 517675e commit 6350481

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Package.swift

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
// swift-tools-version:5.4
1+
// swift-tools-version: 5.4
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
33

44
import PackageDescription
55

6-
76
#if os(macOS)
87
let excludeFiles = [
9-
"./Browser/BrowserViewController.swift", // Because of inheriting iOS only class failed to build on macOS.
8+
"./Browser/BrowserViewController.swift" // Because of inheriting iOS only class failed to build on macOS.
109
]
1110
#elseif os(iOS)
1211
let excludeFiles: String = []
@@ -20,7 +19,7 @@ let package = Package(
2019
products: [
2120
.library(name: "web3swift", targets: ["web3swift"])
2221
],
23-
22+
2423
dependencies: [
2524
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.3.0"),
2625
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.16.2"),
@@ -60,6 +59,6 @@ let package = Package(
6059
.copy("../../../TestToken/Helpers/TokenBasics/IERC20.sol"),
6160
.copy("../../../TestToken/Token/Web3SwiftToken.sol")
6261
]
63-
),
62+
)
6463
]
6564
)

[email protected]

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
// swift-tools-version:5.0
1+
// swift-tools-version: 5.0
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: "Web3swift",
88
platforms: [
9-
.macOS(.v10_12), .iOS(.v11),
9+
.macOS(.v10_12), .iOS(.v11)
1010
],
1111
products: [
1212
// Products define the executables and libraries produced by a package, and make them visible to other packages.
1313
.library(name: "web3swift", targets: ["web3swift"]),
1414
],
15-
15+
1616
dependencies: [
1717
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.3.0"),
1818
.package(url: "https://github.com/mxcl/PromiseKit.git", from: "6.15.4"),
1919
.package(url: "https://github.com/daltoniam/Starscream.git", from: "4.0.4"),
20-
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.4.2"),
20+
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", from: "1.4.2")
2121
],
2222
targets: [
2323
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
@@ -30,6 +30,6 @@ let package = Package(
3030
]),
3131
.testTarget(
3232
name: "web3swiftTests",
33-
dependencies: ["web3swift"]),
33+
dependencies: ["web3swift"])
3434
]
3535
)

0 commit comments

Comments
 (0)