-
-
Notifications
You must be signed in to change notification settings - Fork 30
/
FrameworkSpec
78 lines (73 loc) · 2.36 KB
/
FrameworkSpec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
language = swift("5.0")
platforms = [
macos("10.10"),
ios("8.0"),
tvos("9.0"),
watchos("2.0")
]
moya_model_mapper_tests = new_target do |target|
target.name = "Moya-ModelMapperTests"
target.platforms = platforms
target.language = language
target.info_plist = "Tests/Info.plist"
target.bundle_id = "com.sunshinejr.MoyaModelMapperTests"
target.include_files = ["Tests/**/*.swift"]
target.exclude_files = []
target.resource_files = ["Tests/**/*.png"]
target.dependencies = [
"Quick",
"Nimble",
"Result",
"Alamofire",
"ReactiveSwift",
"RxSwift",
"Moya",
"Mapper"
]
target.type = :unit_test_bundle
target.enable_code_coverage = true
end
moya_model_mapper = new_target do |target|
target.name = "Moya-ModelMapper"
target.platforms = platforms
target.language = language
target.info_plist = "Sources/Supporting Files/Info.plist"
target.bundle_id = "com.sunshinejr.MoyaModelMapper"
target.include_files = ["Sources/Moya-ModelMapper/**/*.swift"]
target.exclude_files = []
target.is_safe_for_extensions = false
target.dependencies = ["Moya", "Mapper"]
target.test_target = moya_model_mapper_tests
end
reactive_moya_model_mapper = new_target do |target|
target.name = "ReactiveMoya-ModelMapper"
target.platforms = platforms
target.language = language
target.info_plist = "Sources/Supporting Files/Info.plist"
target.bundle_id = "com.sunshinejr.ReactiveMoyaModelMapper"
target.include_files = ["Sources/ReactiveMoya-ModelMapper/**/*.swift"]
target.exclude_files = []
target.is_safe_for_extensions = false
target.dependencies = ["Moya-ModelMapper", "ReactiveSwift"]
target.test_target = moya_model_mapper_tests
end
rx_moya_model_mapper = new_target do |target|
target.name = "RxMoya-ModelMapper"
target.platforms = platforms
target.language = language
target.info_plist = "Sources/Supporting Files/Info.plist"
target.bundle_id = "com.sunshinejr.RxMoyaModelMapper"
target.include_files = ["Sources/RxMoya-ModelMapper/**/*.swift"]
target.exclude_files = []
target.is_safe_for_extensions = false
target.dependencies = ["Moya-ModelMapper", "RxSwift"]
target.test_target = moya_model_mapper_tests
end
project.name = "Moya-ModelMapper"
project.scripts_directory = "scripts"
project.targets = [
moya_model_mapper,
reactive_moya_model_mapper,
rx_moya_model_mapper,
moya_model_mapper_tests
]