Giter VIP home page Giter VIP logo

brunchtaskrunner's Introduction

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

brunchtaskrunner's People

Contributors

bartmax avatar dalsoft avatar jongalloway avatar madskristensen avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

brunchtaskrunner's Issues

Cant find brunch.config in VS 2017

Installed product versions

  • Visual Studio: 2017 Professional
  • This extension: 1.3.33

Description

If I open some code via the "open folder" option (i.e. it is not part of a .proj file) , then the plugin does not locate my plugins. However the brunch.config file is still shown in the navigator.

Steps to recreate

  1. Create a folder containing a .proj file and a folder within it containing all the code.
  2. Open the folder containing the code using the "open folder" option in vs 2017
  3. Observer the plugin does not find any task runner configurations.

Why is it important?

If a project is created in vscode then it does not have a .proj file at all. the dev team use both vscode and vs 2017.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.