Builders
Builders are small JSON files that describe how to build files of a certain type. When a user hits the build menu item in Cloud9 it will use the filename to determine which builder to choose and use that builder to build that file. Users can use the run menu to select a builder of choice to build the current file with. Optionally the user can choose to run builders automatically when saving a file.
For more information on creating builders see this guide
Adding a Builder to a Bundle
A bundle can contain one or more builders. Each builder must be stored in a single file with a .build
extension and be placed in the builders
directory.
The filename of your builder will be used as the caption of the menu item for that builder.
Suppose your builder is called java.build
. Your file structure will look something like this:
└─ your.plugin
├─ builders
| └─ java.build
├─ package.json
└─ README.md
Updated less than a minute ago