diff --git a/Build Systems/Processing.sublime-build b/Build Systems/Processing.sublime-build index a2f6eff..6403a83 100644 --- a/Build Systems/Processing.sublime-build +++ b/Build Systems/Processing.sublime-build @@ -1,13 +1,13 @@ +// If you chose to install processing-java in your home dir then change cmd to "~/processing-java" instead of "processing-java" { "selector": "source.pde", "cmd": ["processing-java", "--force", "--sketch=$file_path", "--output=$file_path/build-tmp", "--run"], "file_regex": "^(...*?):([0-9]*)", "encoding": "ISO8859-1", + "osx": { "path": "/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin" }, - // if you choose to install processing-java just in your home dir then use for the cmd "~/processing-java" instead of "processing-java" "variants": [ - { - // Close old sketch on build. + { // Close old sketch on build. "name": "Re-run sketch" , "windows": { "shell_cmd": "wmic process where \"Caption Like '%java.exe%' AND CommandLine Like '%$file_base_name%'\" call terminate 1>nul && processing-java --force --sketch=\"$file_path\" --output=\"$file_path/build-tmp\" --run" @@ -22,15 +22,18 @@ } }, - { "cmd": ["processing-java", "--force", "--sketch=$file_path", "--run"], + { + "cmd": ["processing-java", "--force", "--sketch=$file_path", "--run"], "name": "Run sketch (Processing 3 only)" }, - - { "cmd": ["processing-java", "--force", "--sketch=$file_path", "--output=$file_path/build-tmp", "--present"], + + { + "cmd": ["processing-java", "--force", "--sketch=$file_path", "--output=$file_path/build-tmp", "--present"], "name": "Run sketch fullscreen" }, - { "cmd": ["processing-java", "--force", "--sketch=$file_path", "--output=$file_path/application", "--export"], + { + "cmd": ["processing-java", "--force", "--sketch=$file_path", "--output=$file_path/application", "--export"], "name": "Export sketch as application" } ]