Parallel Builder
Sublime Text2 Plugin - It allows you to run more than one build command in Parallel
Details
Installs
- Total 152
- Win 80
- Mac 51
- Linux 21
Nov 21 | Nov 20 | Nov 19 | Nov 18 | Nov 17 | Nov 16 | Nov 15 | Nov 14 | Nov 13 | Nov 12 | Nov 11 | Nov 10 | Nov 9 | Nov 8 | Nov 7 | Nov 6 | Nov 5 | Nov 4 | Nov 3 | Nov 2 | Nov 1 | Oct 31 | Oct 30 | Oct 29 | Oct 28 | Oct 27 | Oct 26 | Oct 25 | Oct 24 | Oct 23 | Oct 22 | Oct 21 | Oct 20 | Oct 19 | Oct 18 | Oct 17 | Oct 16 | Oct 15 | Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Mac | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Linux | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
Important for the ST3 Users
This plugin does not work on ST3. Please use https://github.com/GianlucaGuarini/Sublime-Text-Concat-Builder instead
Parallel Builder for SublimeText 2
It allows you to run more than one build command in Parallel
Once you define your custom Build settings you will be able to run more than one build process at the same time.
This plugin is ideal if you have to compile more than one LESS/SASS file at the same time or to minify your javascript and so on. I suggest you to use it combined with NODEJS and “OnSaveBuild”: https://github.com/alexnj/SublimeOnSaveBuild
Video Tutorial
Usage
- Install it through the sublime package control http://wbond.net/sublime_packages/package_control
- Create you custom builder JSON setting the value of the “target” property to “parallel_builder” (check the following example)
- Run your Sublime Text2 Builder (Windows: CTRL + B, Mac: Cmd-B)
Example: Custom Builder
(To create your custom builder you need to go on Tools -> Build System -> New Build System)
more infos http://docs.sublimetext.info/en/latest/reference/build_systems.html#troubleshooting-build-systems
ON OS
{
"working_dir": "${project_path:${folder}}",
"target" : "parallel_builder",
"cmd": {
"Js Min":{
"cmd": ["minifyjs", "path_to_your_js_file.js", ">", "output_path.js"]
},
"less file1":{
"cmd": ["lessc", "path_to_your_LESS_file.less", "output_path.less.css"]
},
"Less file2":{
"cmd": ["lessc", "path_to_your_LESS_file2.less", "output_path2.less.css"]
}
}
}
ON WINDOWS
{
"working_dir": "${project_path:${folder}}",
"target" : "parallel_builder",
"cmd": {
"Js Min":{
"cmd": ["minifyjs.cmd", "path_to_your_js_file.js", ">", "output_path.js"]
},
"less file1":{
"cmd": ["lessc.cmd", "path_to_your_LESS_file.less", "output_path.less.css"]
},
"Less file2":{
"cmd": ["lessc.cmd", "path_to_your_LESS_file2.less", "output_path2.less.css"]
}
}
}
More Details
Once you set the property “target” to “parallel_builder”, you can set the command to run for each item inside the “cmd” node, and also the path to your command script. In the previous example any command is already installed by Npm and set as system environment variables. The name for each cmd node should be a short description of the final task
Known issues
Even each command is executed sequentially I suggest you to run any command in parallel without let them working sequentially on the same files. For these tasks I suggest you to build a GRUNT script https://github.com/cowboy/grunt