File tree Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Expand file tree Collapse file tree 1 file changed +7
-12
lines changed Original file line number Diff line number Diff line change 1
1
import PackageDescription
2
2
3
3
let buildTests = false
4
- #if os(Linux)
5
- let supportsTests = true
6
- #else
7
- let supportsTests = false
8
- #endif
9
4
10
5
#if os(Linux)
11
6
let rxCocoaDependencies : [ Target . Dependency ] = [
@@ -32,6 +27,12 @@ let library = [
32
27
name: " RxCocoa " ,
33
28
dependencies: rxCocoaDependencies
34
29
) ,
30
+ Target (
31
+ name: " RxTest " ,
32
+ dependencies: [
33
+ . Target( name: " RxSwift " )
34
+ ]
35
+ ) ,
35
36
]
36
37
37
38
#if os(Linux)
@@ -57,15 +58,9 @@ let tests: [Target] = (buildTests ? [
57
58
. Target( name: " RxCocoa " )
58
59
]
59
60
)
60
- ] : [ ] ) + ( supportsTests ? [ Target (
61
- name: " RxTest " ,
62
- dependencies: [
63
- . Target( name: " RxSwift " )
64
- ]
65
- )
66
61
] : [ ] )
67
62
68
- let testExcludes : [ String ] = ( !buildTests ? [ " Sources/AllTestz " ] : [ ] ) + ( !supportsTests ? [ " Sources/RxTest " ] : [ ] )
63
+ let testExcludes : [ String ] = ( !buildTests ? [ " Sources/AllTestz " ] : [ ] )
69
64
70
65
#if os(Linux)
71
66
You can’t perform that action at this time.
0 commit comments