ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Sequential​Builder

by dkleinsmann ALL

Allow build systems with multiple build steps.

Details

  • 0.2.1
  • github.​com
  • github.​com
  • 11 years ago
  • 32 minutes ago
  • 11 years ago

Installs

  • Total 1K
  • Win 809
  • Mac 312
  • Linux 114
Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11 Jan 10 Jan 9 Jan 8 Jan 7 Jan 6 Jan 5 Jan 4 Jan 3 Jan 2 Jan 1 Dec 31 Dec 30 Dec 29 Dec 28 Dec 27 Dec 26 Dec 25 Dec 24 Dec 23
Windows 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 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 1 1 0 0 0 0 0 0 0 0 1 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

Sublime Sequential Build System

This plugin allows build system with multiple 'cmd' steps that will get executed sequentially.

To use the plugin set the “target” attribute to “sequential_builder” and insert a list of build steps.

Note: It is required that the working_dir path be set as an absolute path. For this reason it is recommended that one of the following variables are used.

$file_path
$project_path

Note: Some build system variables cannot be used in the individual build steps. The allowed variables are listed below.

$file_path
$file
$file_name
$file_extension
$file_base_name
$packages

Warning: Snippets and default values for variables are not yet supported.

An example build system using multiple build steps:

"build_systems":
[
    {
        "name": "Sequential Build Example (make)",
        "target": "sequential_builder",
        "working_dir": "${project_path}/build/",
        "build_sequence":
        [
            {
                "cmd": ["make", "${file}"]
                "file_regex": "^\\s*(.*?)\\((\\d+)\\):\\s+.*$"
            },
            {
                "cmd": ["make", "install"]
            },
            {
                "working_dir": "../bin",
                "cmd": ["$file_base_name", "--id", "1"],
            }
        ]
    }
]