Compile and Run Swift on Command Line

Here is my setup

VI plugin for swift

https://github.com/toyamarinyon/vim-swift

Alias for Bash

alias sw="swift -sdk $(xcrun --show-sdk-path --sdk macosx)"

Compiling and running at command prompt

sw test.swift

By: gavi on: