A simple Swift buildpack, uses the official Ubuntu LTS build from the Swift website.
Create a new app using the buildpack:
$ heroku create -b https://github.com/neonichu/swift-buildpack.git
or add it to an existing app:
$ heroku config:add BUILDPACK_URL=https://github.com/neonichu/swift-buildpack.git
All the Swift binaries are installed into
vendor/swift and are
This script might work as an example.
Copy the snippet above into CLI.