0.0.3 • Published 11 years ago

grunt-release-component v0.0.3

Weekly downloads
10
License
-
Repository
-
Last release
11 years ago

grunt-release-component

Grunt plugin to release the compiled / generated files from a project to a separate repository. For instance the source code for Thorax lives here:

https://github.com/walmartlabs/thorax

But the bower component lives here:

https://github.com/components/thorax

This plugin is designed to be run after something like grunt-release.

Usage

The copy command will copy the generated files into the component repo.

grunt.initConfig({
  'release-component': {
    options: {
      componentRepo: 'git@github.com:components/thorax.git',
      copy: {
        'build/release/thorax.js': 'thorax.js',
        'build/release/thorax-mobile.js': 'thorax-mobile.js'
      }
    }
  }
});