Created
June 6, 2014 03:51
-
-
Save mahiuchun/174595da1b39f5a3f921 to your computer and use it in GitHub Desktop.
Use Swift like Python
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
swift() { | |
local swift_=/Applications/Xcode6-Beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift | |
if [[ -z $@ ]] | |
then | |
$swift_ | |
else | |
$swift_ -i $@ | |
fi | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment