- Open Sublime Text 3
- Go To
Preferences > Browse Packages... - Add a file named
Swift.sublime-buildinsidePackagesdirectory. - Copy the following script in
Swift.sublime-buildfile.
{
"shell_cmd": "xcrun swift \"$file\"",
| git config --global alias.trim '!f() { git branch | grep -v "\*" | xargs -n 1 git branch -D; }; f' |
| // | |
| // Glob.swift | |
| // | |
| // Created by Brad Grzesiak on 6/25/15. | |
| // Copyright © 2015 Bendyworks Inc. | |
| // Released under the Apache v2 License. | |
| // | |
| import Darwin |