Custom Builder
Sublime Text plugin to launch customisable build commands
Details
Installs
- Total 996
- Win 598
- Mac 185
- Linux 213
Oct 14 | Oct 13 | Oct 12 | Oct 11 | Oct 10 | Oct 9 | Oct 8 | Oct 7 | Oct 6 | Oct 5 | Oct 4 | Oct 3 | Oct 2 | Oct 1 | Sep 30 | Sep 29 | Sep 28 | Sep 27 | Sep 26 | Sep 25 | Sep 24 | Sep 23 | Sep 22 | Sep 21 | Sep 20 | Sep 19 | Sep 18 | Sep 17 | Sep 16 | Sep 15 | Sep 14 | Sep 13 | Sep 12 | Sep 11 | Sep 10 | Sep 9 | Sep 8 | Sep 7 | Sep 6 | Sep 5 | Sep 4 | Sep 3 | Sep 2 | Sep 1 | Aug 31 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 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 | 1 | 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
Sublime Text Custom Builder
Sublime Text plugin to launch customisable build commands. Easily select the command you need each time you build.
Installation
Install using Package Control:
- Open the Sublime Text Command Palette
- Select Package Control: Install Package
- Select Custom Builder
Usage
Create a build system file. To run the Custom Builder for all Python files, use:
{
"target": "custom_builder_prompt",
"selector": "source.python"
}
Now open a file, bring up the Command Palette and type Build
. This should display the Custom Builder selector.
Press Enter to create a new command, and type the command to run.
To create a command to display your current network configuration, type c:\Windows\System32\ipconfig.exe
.
Now give it a name and press Enter.
That's it, you should see the command output appear in the Output Pane.
Now when you bring up the Custom Builder selector you will see the new command at the top of the list.
Editing Commands
You can edit your existing commands by opening the Custom Builder.sublime-settings file in your Packages/User folder:
{
"commands":
[
{
"command": "c:\\Windows\\system32\\ipconfig.exe",
"title": "IPConfig"
}
]
}
Build System Variables
You can use any of the Build System Features in your build system files.
Unfortunately Build System Variables ($file_path
, $project
, etc.) are not expanded properly by default. To use these in your commands, pass them through in the cmd
argument:
{
"target": "custom_builder_prompt",
"selector": "source.python",
"cmd": {"file": "$file"},
"shell": true
}
You can then use the variable in your Custom Builder command:
path\to\build_tool $file