This project has moved and is read-only. For the latest updates, please go here.


Wrong path in sublime build file


I found a small issue with sublime build system shipped in package.
The swift.sublime-build file contains the following code:
    "cmd": ["C:\\Program Files\\Swift\\bin\\swift", "$file_name"],
    "path": "C:\\Program Files\\Swift\\bin;%PATH%",
    "file_regex": "^(.*):([0-9]*):([0-9]*):",
    "selector": "source.swift"
the path to bin here is C:\Program Files\Swift\bin but the default install path is C:\SwiftForWindows\Swift\bin .
Closed Jun 12 at 8:52 PM by tinysun


tinysun wrote Jun 18, 2016 at 1:11 AM

There is other project which make the command line interface Swift compiler.

The folder C:\SwiftForWindows\Swift is the package of the project and intended to install in the folder C:\Program Files, so swift.sublime-build file is correct.

Anyway, you can safely change the sublime config file, because the package works correctly under the folder C:\SwiftForWindows as well as C:\Program Files.