1
1
I just installed Cygwin and would like to use that for ST3's build system instead of CMD. I can't seem to find good documentation about it. Anyone have any ideas?
1
1
I just installed Cygwin and would like to use that for ST3's build system instead of CMD. I can't seem to find good documentation about it. Anyone have any ideas?
4
I just had the same question and solved it with reading some related Question-Thread on Stackoverflow, which I listed at the End of my answer.
Overview of what I answer:
SublimeTextBuildScript.sh
#!/usr/bin/bash -l
cd "/cygdrive/x/cheatsheet-template"
ls -lha
make
Solves: Troubles while executing the shell-script with Line-endings. I saw some error-messages with "\r" in the message while testing.
D:\Applications\cygwin64\bin\mintty.exe -h always /cygdrive/d/Applications/Hochguertel/bin/SublimeTextBuildScript.sh
Sublime Text -> Tools -> Build-System -> New Build System...
{
"shell_cmd": "D:\\Applications\\cygwin64\\bin\\mintty.exe -h always
/cygdrive/d/Applications/Hochguertel/bin/SublimeTextBuildScript.sh"
}
File-Extension: .sublime-build
Filename: Cheatsheet Build.sublime-build
Sublime Text -> Tools -> Build System -> "Cheatsheet Build"
Sublime Text -> Tools -> Build
Working Cygwin Build System Solution with Sublime Text:
HTH