Giter Site home page Giter Site logo

heroku-buildpack-swift's Introduction

Heroku Buildpack for Swift

Usage

$ mkdir myswiftapp
$ cd myswiftapp
$ echo 'print("Hello from Swift")' > hello.swift
$ git init
$ git commit -m "Initial commit"
$ heroku create
$ heroku buildpacks:set https://github.com/johnbeynon/heroku-buildpack-swift
$ git push heroku master
$ heroku run swift hello.swift

Counting objects: 1, done. Writing objects: 100% (1/1), 183 bytes | 0 bytes/s, done. Total 1 (delta 0), reused 0 (delta 0) remote: Compressing source files... done. remote: Building source: remote: remote: -----> Fetching set buildpack https://github.com/johnbeynon/heroku-buildpack-swift... done remote: -----> Swift app detected remote: ......... remote: ;;;;;;;;;;;;; remote: ;;;;;;;;;;;;;;; remote: ;;;;;;;;;.;;;;; +## remote: ;;,;.;;;;..;;;; #,.+ ;# : remote: ;;; ;;;;; :;;; # # : remote: ;;;; ; ;;; ;;; , # # remote: ;;;;; , :; ;;; + + ' + ; +######++ remote: ;;;;;; ;;; # # #' ; ' # # remote: ;;;;;;; ;;; '# ' ,# + ' # # remote: ;; ;;;;: :;; :# ; # ; # ' # # remote: ;;; ;; # # # ' ; ' # # remote: ;;;;. : ;; # # . # ; ' # # remote: ;;;;;;;;;;;;;;; # ``# ; # ' # # remote: ;;;;;;;;;;;;;;; + ## :; ' # # remote: ;;;;;;;;;;;;; +#:,+# # # ' # #;: remote: remote: Installing Swift 2.2-SNAPSHOT-2015-12-01-b-ubuntu14.04 remote: remote: remote: -----> Discovering process types remote: Procfile declares types -> none remote: remote: -----> Compressing... done, 85.5MB remote: -----> Launching... done, v30 remote: https://swift-is-awesome.herokuapp.com/ deployed to Heroku remote: remote: Verifying deploy... done. To https://git.heroku.com/swift-is-awesome.git 24ad6b9..2b1ac80 master -> master


And then to confirm...

$ heroku run bash Running bash on swift-is-awesome... up, run.6099 ~ $ swift Welcome to Swift version 2.2-dev (LLVM 46be9ff861, Clang 4deb154edc, Swift 778f82939c). Type :help for assistance. 1>


Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.