generated from Apodini/Template-Repository
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
170 lines (160 loc) · 12.6 KB
/
Package.swift
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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "PallidorMigrator",
platforms: [
.macOS(.v10_15)
],
products: [
// Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "PallidorMigrator",
targets: ["PallidorMigrator"])
],
dependencies: [
// Dependencies declare other packages that this package depends on.
.package(url: "https://github.com/krzysztofzablocki/Sourcery", .upToNextMajor(from: "1.0.0"))
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "PallidorMigrator",
dependencies: [
.product(name: "SourceryFramework", package: "Sourcery")
]),
.testTarget(
name: "PallidorMigratorTests",
dependencies: [
"PallidorMigrator",
.product(name: "SourceryFramework", package: "Sourcery")
],
resources: [
.process("Resources/Endpoints/Input/EndpointPlaceholder.md"),
.process("Resources/Endpoints/Input/PetEndpoint.md"),
.process("Resources/Endpoints/Input/PetEndpointAddedContentBody.md"),
.process("Resources/Endpoints/Input/PetEndpointAddedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointDeletedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointFacade.md"),
.process("Resources/Endpoints/Input/PetEndpointFacadeDeletedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointFacadeReplacedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamed.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedMethodAndContentBody.md"),
.process("Resources/Endpoints/Input/PetEndpointReplacedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointReplacedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointReplacedReturnValue.md"),
.process("Resources/Endpoints/Input/StoreEndpointReplaceContentBody.md"),
.process("Resources/Endpoints/Input/UserEndpointDeletedParameter.md"),
.process("Resources/Endpoints/Input/UserEndpointReplacedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedMethodAndReplacedReturnValue.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedMethodAndDeletedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedAndReplacedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedAndRenamedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedMethodAndReplacedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedAndRenamedMethodAndReplacedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedAndReplacedAndDeletedMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointFacadeAddMethod.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedMethodAndAddedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedMethodAndRenamedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedAndRenamedMethodAndAddedAndDeletedParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedAndRenamedMethodAndReplacedAndDeletedParameterAndReplacedReturnValue.md"),
.process("Resources/Endpoints/Input/PetEndpointRenamedAndRenamedMethodAndChangedParametersAndReplacedReturnValue.md"),
.process("Resources/Endpoints/Input/PetEndpointReplaceParameterMN.md"),
.process("Resources/Endpoints/Input/PetEndpointReplaceParameter32.md"),
.process("Resources/Endpoints/Input/PetEndpointDefaultParameter.md"),
.process("Resources/Endpoints/Input/PetEndpointRequiringParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethodAndRenamedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethodAndReplacedReturnValue.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeAddedContentBody.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethodAndAddedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeAddedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeDeleted.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeDeletedMethod.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamed.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethod.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethodAndContentBody.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeReplacedMethod.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeReplacedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeReplacedReturnValue.md"),
.process("Resources/Endpoints/Results/ResultStoreEndpointFacadeReplacedContentBody.md"),
.process("Resources/Endpoints/Results/ResultUserEndpointFacadeDeletedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeReplacedMethodInSameEndpoint.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointRenamedMethodAndReplacedReturnValue.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethodAndDeletedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedAndReplacedMethod.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedAndRenamedMethod.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedAndDeletedMethod.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethodAndReplacedDeletedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedAndRenamedMethodAndReplacedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedAndReplacedAndDeletedMethod.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedMethodAndAddedAndDeletedParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedAndRenamedMethodAndReplacedParameterAndReplacedReturnValue.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRenamedAndRenamedMethodAndChangedParametersAndReplacedReturnValue.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeM1ParameterChange.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacade1NParameterChange.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacade32ParameterChange.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeDefaultParameter.md"),
.process("Resources/Endpoints/Results/ResultPetEndpointFacadeRequiredParameter.md"),
.process("Resources/Models/Input/ModelPlaceholder.md"),
.process("Resources/Models/Input/ModelCustomerRenamedAndReplacedProperty.md"),
.process("Resources/Models/Input/ModelAddress.md"),
.process("Resources/Models/Input/ModelAddressRenamed.md"),
.process("Resources/Models/Input/ModelApiResponseFacadeDeleted.md"),
.process("Resources/Models/Input/ModelCategoryRenamedProperty.md"),
.process("Resources/Models/Input/ModelCustomerReplacedProperty.md"),
.process("Resources/Models/Input/ModelOfType.md"),
.process("Resources/Models/Input/ModelOfTypeFacade.md"),
.process("Resources/Models/Input/ModelOfTypeRenamed.md"),
.process("Resources/Models/Input/ModelOrderFacadeReplaced.md"),
.process("Resources/Models/Input/ModelPet.md"),
.process("Resources/Models/Input/ModelPetRenamedProperty.md"),
.process("Resources/Models/Input/ModelCustomerRenamedAndDeletedProperty.md"),
.process("Resources/Models/Input/ModelCategoryRenamedAndPropertyRenamed.md"),
.process("Resources/Models/Input/ModelPetRenamedAndAddedProperty.md"),
.process("Resources/Models/Results/ResultModelCategoryRenamedAndRenamedProperty.md"),
.process("Resources/Models/Results/ResultModelAddressRenamed.md"),
.process("Resources/Models/Results/ResultModelApiResponseDeleted.md"),
.process("Resources/Models/Results/ResultModelCategoryRenamedProperty.md"),
.process("Resources/Models/Results/ResultModelCustomerReplacedProperty.md"),
.process("Resources/Models/Results/ResultModelOfType.md"),
.process("Resources/Models/Results/ResultModelOfTypeDeleted.md"),
.process("Resources/Models/Results/ResultModelOfTypeDeletedCase.md"),
.process("Resources/Models/Results/ResultModelOfTypeRenamed.md"),
.process("Resources/Models/Results/ResultModelOfTypeReplaced.md"),
.process("Resources/Models/Results/ResultModelOrderReplaced.md"),
.process("Resources/Models/Results/ResultModelPet.md"),
.process("Resources/Models/Results/ResultModelPetAddedComplexProperty.md"),
.process("Resources/Models/Results/ResultModelAddressAddedSimpleProperty.md"),
.process("Resources/Models/Results/ResultModelPetDeletedProperty.md"),
.process("Resources/Models/Results/ResultModelPetRenamedProperty.md"),
.process("Resources/Models/Results/ResultModelPetAddedAndDeletedProperty.md"),
.process("Resources/Models/Results/ResultModelCustomerRenamedAndReplacedProperty.md"),
.process("Resources/Models/Results/ResultModelCustomerRenamedAndDeletedProperty.md"),
.process("Resources/Models/Results/ResultModelPetRenamedAndAddedProperty.md"),
.process("Resources/Enums/Input/EnumMessageLevelFacade.md"),
.process("Resources/Enums/Input/EnumPlaceholder.md"),
.process("Resources/Enums/Input/EnumTimeMode.md"),
.process("Resources/Enums/Input/EnumTimeModeFacade.md"),
.process("Resources/Enums/Input/EnumTimeModeDeletedCase.md"),
.process("Resources/Enums/Input/EnumTimeModeRenamed.md"),
.process("Resources/Enums/Input/ErrorEnum.md"),
.process("Resources/Enums/Input/ErrorEnumAddedCase.md"),
.process("Resources/Enums/Input/ErrorEnumDeletedCase.md"),
.process("Resources/Enums/Input/ErrorEnumFacadeAddedCase.md"),
.process("Resources/Enums/Input/ErrorEnumFacadeDeletedCase.md"),
.process("Resources/Enums/Results/ResultEnumMessageLevelReplaced.md"),
.process("Resources/Enums/Results/ResultEnumTimeMode.md"),
.process("Resources/Enums/Results/ResultEnumTimeModeDeleted.md"),
.process("Resources/Enums/Results/ResultEnumTimeModeDeletedCase.md"),
.process("Resources/Enums/Results/ResultEnumTimeModeRenamed.md"),
.process("Resources/Enums/Results/ResultErrorEnum.md"),
.process("Resources/Enums/Results/ResultErrorEnumAddedCase.md"),
.process("Resources/Enums/Results/ResultErrorEnumDeletedCase.md")
]
)
]
)