Here is the code for building & the batch:
- Code: Select all
{
"cmd": ["coffee.bat", "$file"],
"selector" : "source.coffee",
"path" : "%APPDATA%\\Sublime Text 2\\Packages\\SublimeResult\\trigger"
}
- Code: Select all
:: Coffee-Builder-Batch
::@echo off
set input=%1
set output=%input:~0,-6%
cscript //nologo ../win_code/"coffee.wsf" %input% %output%js
The python console shows, that it complains about "cscript" (seems like he doesn't know it - even though it normaly works via cmd) and uses "set output=..." wrong (takes one letter moren than it should). Moreover I get the message"[Decode error - output not utf-8]" at the beginning.
Would be great if you could help me with this issues