@@ -15,21 +15,20 @@ let excludeFiles: String = []
15
15
let package = Package (
16
16
name: " Web3swift " ,
17
17
platforms: [
18
- . macOS( . v10_12) , . iOS( . v11) ,
18
+ . macOS( . v10_12) , . iOS( . v11)
19
19
] ,
20
20
products: [
21
- . library( name: " web3swift " , targets: [ " web3swift " ] ) ,
21
+ . library( name: " web3swift " , targets: [ " web3swift " ] )
22
22
] ,
23
23
24
24
dependencies: [
25
25
. package ( url: " https://github.com/attaswift/BigInt.git " , from: " 5.3.0 " ) ,
26
26
. package ( url: " https://github.com/mxcl/PromiseKit.git " , from: " 6.15.4 " ) ,
27
27
. package ( url: " https://github.com/daltoniam/Starscream.git " , from: " 4.0.4 " ) ,
28
- . package ( url: " https://github.com/krzyzanowskim/CryptoSwift.git " , from: " 1.4.2 " ) ,
28
+ . package ( url: " https://github.com/krzyzanowskim/CryptoSwift.git " , from: " 1.4.2 " )
29
29
] ,
30
30
targets: [
31
31
. target( name: " secp256k1 " ) ,
32
-
33
32
. target(
34
33
name: " web3swift " ,
35
34
dependencies: [ " BigInt " , " secp256k1 " , " PromiseKit " , " Starscream " , " CryptoSwift " ] ,
@@ -42,6 +41,13 @@ let package = Package(
42
41
) ,
43
42
. testTarget(
44
43
name: " web3swiftTests " ,
45
- dependencies: [ " web3swift " ] ) ,
44
+ dependencies: [ " web3swift " ] ,
45
+ resources: [
46
+ . copy( " ../TestToken/Helpers/SafeMath/SafeMath.sol " ) ,
47
+ . copy( " ../TestToken/Helpers/TokenBasics/ERC20.sol " ) ,
48
+ . copy( " ../TestToken/Helpers/TokenBasics/IERC20.sol " ) ,
49
+ . copy( " ../TestToken/Token/Web3SwiftToken.sol " )
50
+ ]
51
+ ) ,
46
52
]
47
53
)
0 commit comments