You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Resolving https://github.com/IBM-Swift/Kitura-TemplateEngine.git at 2.0.1
114
114
-----> No additional packages to download.
115
115
-----> Skipping installation of App Management (debug)
116
116
-----> Installing system level dependencies...
117
117
-----> Building Package...
118
118
-----> Build config: release
119
-
[1/20] Compiling CHTTPParser utils.c
120
-
[2/20] Compiling CHTTPParser http_parser.c
121
-
[3/20] Compiling Swift Module 'TypeDecoder' (2 sources)
122
-
[4/20] Compiling Swift Module 'Socket' (3 sources)
123
-
[5/20] Compiling Swift Module 'Signals' (1 sources)
124
-
[6/20] Compiling Swift Module 'LoggerAPI' (1 sources)
125
-
[7/20] Compiling Swift Module 'KituraTemplateEngine' (1 sources)
126
-
[8/20] Compiling Swift Module 'KituraContracts' (9 sources)
127
-
[9/20] Compiling Swift Module 'HeliumLogger' (2 sources)
128
-
[10/20] Compiling Swift Module 'Health' (3 sources)
129
-
/tmp/app/.build/checkouts/TypeDecoder/Sources/TypeDecoder/TypeDecoder.swift:292:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type'TypeInfo' to 'Hashable' by implementing 'hash(into:)' instead
130
-
public var hashValue: Int {
131
-
^
132
-
[11/20] Compiling Swift Module 'FileKit' (1 sources)
133
-
[12/20] Compiling Swift Module 'Configuration' (5 sources)
134
-
[13/20] Compiling Swift Module 'SSLService' (2 sources)
135
-
[14/20] Compiling Swift Module 'CloudFoundryEnv' (6 sources)
136
-
[15/20] Compiling Swift Module 'KituraNet' (36 sources)
137
-
[16/20] Compiling Swift Module 'CloudEnvironment' (18 sources)
138
-
[17/20] Compiling Swift Module 'Kitura' (52 sources)
139
-
/tmp/app/.build/checkouts/Kitura/Sources/Kitura/contentType/MediaType.swift:163:16: warning: 'Hashable.hashValue' is deprecated as a protocol requirement; conform type'MediaType' to 'Hashable' by implementing 'hash(into:)' instead
140
-
public let hashValue: Int
141
-
^
142
-
[18/20] Compiling Swift Module 'Controller' (1 sources)
143
-
[19/20] Compiling Swift Module 'Kitura_Starter' (1 sources)
#0 running 2019-07-31T19:14:04Z0.4% 36K of 256M 458.4M of 1G
172
+
#0 running 2019-09-26T15:53:33Z1.9% 36K of 256M 194.5M of 1G
179
173
```
180
174
181
175
The buildpack will detect your app as Swift if it has a `Package.swift` file in the root.
182
176
183
177
### Version installed on the IBM Cloud
184
178
185
-
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.1.1](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.1.1).
179
+
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.2.0](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.2.0).
186
180
187
181
Please note that it is possible that the latest buildpack code contained in this repo hasn't yet been installed on the IBM Cloud. If that happens to be the case and you'd like to leverage the latest buildpack code, you can do so by adding the `-b https://github.com/IBM-Swift/swift-buildpack` parameter to the `ibmcloud app push` command, as shown below:
188
182
@@ -224,21 +218,21 @@ command: <executable_name>
224
218
225
219
### What is the latest version of Swift supported?
226
220
227
-
The latest version of Swift supported by this buildpack is ```5.0.2```.
221
+
The latest version of Swift supported by this buildpack is ```5.1```.
228
222
229
223
### Specify a Swift version
230
224
231
225
You specify the version of Swift for your application using a `.swift-version` file in the root of your repository:
232
226
233
227
```shell
234
228
$ cat .swift-version
235
-
5.0
229
+
5.1
236
230
```
237
231
238
232
Please note that the swift_buildpack installed on the IBM Cloud **caches** the following versions of the Swift binaries:
239
233
234
+
-`5.1`
240
235
-`5.0.2`
241
-
- `5.0.1`
242
236
-`4.2.4`
243
237
244
238
If you'd like to use a different version of Swift [that is not cached] on the IBM Cloud, you can specify it in the `.swift-version` file. Please be aware that using a Swift version that is not cached increases the provisioning time of your app on the IBM Cloud.
@@ -361,17 +355,17 @@ Previous versions of this buildpack provided the [libdispatch](https://github.co
361
355
362
356
### Caching of the .build directory
363
357
364
-
Following the release of Swift 3.1, the IBM Cloud buildpack for Swift caches the contents of the `.build` folder to speed up the provisioning of your application the next time you execute the `ibmcloud app push` command. If you'd prefer not to use this caching mechanism, you can disable it by executing the following command:
358
+
Following the release of Swift 5.1, the IBM Cloud buildpack for Swift does not cache the contents of the `.build` folder by default. Caching this folder helps speed up the provisioning of your application the next time you execute the `ibmcloud app push` command, but can cause an application to exceed its disk space quota. If you'd prefer to use this caching mechanism, you can enable it by executing the following command:
0 commit comments