Skip to content

madskristensen/BrunchTaskRunner

Repository files navigation

Brunch Task Runner extension

Adds support for the Brunch build tool in Visual Studio 2015's Task Runner Explorer.

Build status

Download the extension at the VS Gallery or get the nightly build

Install Brunch

In order to use this extension, you must have Brunch installed globally or locally in your project.

Use npm to install it globally by typing the following in a command line:

npm install brunch -g

Config files

The Brunch Task Runner automatically triggers when it finds Brunch configuration files. These file names are supported:

  1. config.coffee
  2. brunch-config.coffee
  3. brunch-config.js

Any config file will have a Brunch logo watermark at the bottom right corner of the editor window.

Watermark

You can toggle the visibility of the watermark by clicking on it.

Task Runner Explorer

Open Task Runner Explorer by right-clicking the Brunch configuration file and select Task Runner Explorer from the context menu:

Open Task Runner Explorer

Task Runner Explorer will show both build and watch tasks as well as any override files present in the working directory.

In this case, there are two override files:

  1. config.overrides.staging
  2. config.overrides.test

Task List

Each task can be executed by double-clicking the task.

Console output

Debugging

By clicking the Debug icon on the left menu bar, the --debug switch is being enabled for all Brunch tasks.

Debug

The Debug menu icon is a toggle button that can be left on or off for as long as needed.

Bindings

Task bindings make it possible to associate individual tasks with Visual Studio events such as Project Open etc.

Bindings

Item Template

You can easily add a new brunch-config.coffee file to your project from the Add New Item dialog.

Just search for "brunch".

Item template

Contribute

Check out the contribution guidelines if you want to contribute to this project.

For cloning and building this project yourself, make sure to install the Extensibility Tools 2015 extension for Visual Studio which enables some features used by this project.

License

Apache 2.0

About

A Visual Studio extension

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •