Last active
August 21, 2019 19:37
-
-
Save mklbtz/884fdc4ec69535c632be69fa60a125ed to your computer and use it in GitHub Desktop.
Use Xcode to run Swift CLI, file regex included
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
Show hidden characters
{ | |
"selector": "source.swift", | |
"shell_cmd": "/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swift \"${file}\"", | |
"file_regex": "^(.+\\.swift):([0-9]+):?([0-9]+)?:? (?:error|warning|note): (.*)$" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment