Skip to content

A micro-plugin to run commands line scripts after Brunch's compile.

Notifications You must be signed in to change notification settings

AndreasMaros/after-brunch

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

after-brunch

Want to run something on the command line everytime brunch compiles? Easy.

This fork

...allows you to set an additional option to only run the task for production builds.

Usage

Add "after-brunch": "x.y.z" to package.json of your brunch app. Or npm install after-brunch --save.

Then in your config.coffee just add any commands to the afterBrunch array. For example, you might want to use styledocco to create a live styleguide of your stylesheets.

exports.config =plugins:
    afterBrunch: {
      productionOnly: true,
      tasks: [
        'styledocco -n "My Project" css'
      ]
    }

About

A micro-plugin to run commands line scripts after Brunch's compile.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • CoffeeScript 100.0%