From c91e2c8b19502f9e5feee5db52abc9fd655266f7 Mon Sep 17 00:00:00 2001 From: FichteFoll Date: Fri, 20 Sep 2013 02:28:02 +0200 Subject: [PATCH] Tweak build system for windows It can't find `cake`, even though it's on PATH. --- CoffeeScript.sublime-build | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/CoffeeScript.sublime-build b/CoffeeScript.sublime-build index 07ddaf6..34c890a 100644 --- a/CoffeeScript.sublime-build +++ b/CoffeeScript.sublime-build @@ -1,12 +1,15 @@ -{ - "cmd": ["cake", "sbuild"] +{ "cmd": ["cake", "sbuild"] , "path": "/usr/local/bin:$PATH" , "selector": "source.coffee" , "working_dir": "$project_path" + +, "windows": + { "path": "$PATH" + , "cmd": ["cake.cmd", "sbuild"] + } + , "variants": - [ - { - "name": "Run", + [ { "name": "Run", "cmd": ["coffee", "$file"] } ]