Skip to content

Instantly share code, notes, and snippets.

@tternes
Created June 6, 2014 04:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tternes/6d22cf676ce504c325b6 to your computer and use it in GitHub Desktop.
Save tternes/6d22cf676ce504c325b6 to your computer and use it in GitHub Desktop.
hashbang swift
#!/usr/bin/xcrun swift -i
println("that is awesome")
@tternes
Copy link
Author

tternes commented Jun 6, 2014

$ chmod +x hello.swift
$ ./hello.swift
that is awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment