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

Ninja​Build

by JohanBaltie ALL

Ninja build system for Sublime Text

Details

Installs

  • Total 638
  • Win 238
  • Mac 133
  • Linux 267
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 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7
Windows 0 0 0 0 2 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 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 1 0 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 2 0 1
Linux 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 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Ninja

Build with ninja under Sublime text.

What it provides

ninja build system allows to choose and build a given ninja target.

Startup configuration

To activate it, select the ninja build system, you need a Sublime project that you will configure to have:

"ninja":
{
    # A mandatory path to the directory where you can launch ninja
    "working_dir": "path/to/projects/"
}

After that your just have to press the build shortcut (CTRL-B or F7).

Additional configuration

Here a more complete example of configuration:

"ninja":
{
    # Optional path to the ninja executable
    "executable_name": "path/to/ninja",

    # Command used to list the target
    "listing_command": [ "executable", "option" ],

    # Regexp to match error (see build system documentation)
    # Here is the default:
    "file_regex": "^(..[^:]*):([0-9]+):?([0-9]+)?:? (.*)$"

    # And still the mandatory path
    "working_dir": "path/to/projects/"
}