Skip to content

Commit f3234e1

Browse files
committed
readme updates
1 parent 03484c5 commit f3234e1

File tree

1 file changed

+13
-6
lines changed

1 file changed

+13
-6
lines changed

README.md

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ Staging app and tracing logs...
4747
Cell b52d4499-f402-4b95-8ccc-75f95c8b518d successfully created container for instance 90754c9f-3c50-43a5-bdaa-80ad61cee7c3
4848
Downloading app package...
4949
Downloaded app package (30K)
50-
-----> Buildpack version 2.2.0
50+
-----> Buildpack version 2.1.1
5151
-----> Default supported Swift version is 5.0.2
5252
-----> Configure for apt-get installs...
5353
-----> Writing profile script...
@@ -182,7 +182,7 @@ The buildpack will detect your app as Swift if it has a `Package.swift` file in
182182
183183
### Version installed on the IBM Cloud
184184
185-
The latest version of the IBM Cloud buildpack for Swift on the IBM Cloud is [v2.1.0](https://github.com/IBM-Swift/swift-buildpack/releases/tag/2.1.0).
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.0).
186186
187187
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:
188188
@@ -238,6 +238,7 @@ $ cat .swift-version
238238
Please note that the swift_buildpack installed on the IBM Cloud **caches** the following versions of the Swift binaries:
239239
240240
- `5.0.2`
241+
- `5.0.1`
241242
- `4.2.4`
242243
243244
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.
@@ -348,6 +349,12 @@ If you need to specify the path to header files for a system package installed b
348349
-Xcc -I$BUILD_DIR/.apt/usr/include/<path to header files>
349350
```
350351
352+
If you need to specify environment variables that apply during the build,, such as to enable [Kitura-NIO](https://github.com/IBM-Swift/Kitura-NIO#using-kitura-nio), create a file with the name `.swift-build-env-linux` in the root project directory. Edit the file and add one environment variable per line. For example:
353+
```
354+
KITURA_NIO=1
355+
FOO=BAR
356+
```
357+
351358
### libdispatch
352359
353360
Previous versions of this buildpack provided the [libdispatch](https://github.com/apple/swift-corelibs-libdispatch) binaries for Swift development builds **prior** to 2016-08-23. However, current and future versions of this buildpack will **not** provide those binaries. Users should upgrade their applications to Swift 3.0, which already includes the libdispatch binaries.
@@ -393,17 +400,17 @@ Admin tasks
393400
To install this buildpack:
394401
395402
```shell
396-
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.1.0/buildpack_swift_v2.1.0-20190401-2122.zip
397-
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.1.0-20190401-2122.zip <position>
403+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.1.0/buildpack_swift_v2.1.1-20190805-1547.zip
404+
ibmcloud cf create-buildpack swift_buildpack buildpack_swift_v2.1.1-20190805-1547.zip <position>
398405
```
399406
400407
**Position** is a positive integer, sets priority, and is sorted from lowest to highest when listed using the `ibmcloud cf buildpacks` command.
401408
402409
And to update it:
403410
404411
```shell
405-
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.1.0/buildpack_swift_v2.1.0-20190401-2122.zip
406-
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.1.0-20190401-2122.zip
412+
wget https://github.com/IBM-Swift/swift-buildpack/releases/download/2.1.1/buildpack_swift_v2.1.1-20190805-1547.zip
413+
ibmcloud cf update-buildpack swift_buildpack -p buildpack_swift_v2.1.1-20190805-1547.zip
407414
```
408415
409416
For more details on installing buildpacks, see [Adding buildpacks to Cloud Foundry](https://docs.cloudfoundry.org/adminguide/buildpacks.html).

0 commit comments

Comments
 (0)