0.0.0 • Published 11 years ago

grunt-skippy v0.0.0

Weekly downloads
1
License
-
Repository
github
Last release
11 years ago

grunt-skippy

Build Status

Skip multitask target if source files haven't changed.

> grunt skippy:uglify:thirdparty // The first time will run uglify:thirdparty as usual.
> grunt skippy:uglify:thirdparty // The second time it'll skip uglify since
                                 // the source files haven't changed.

Getting Started

Grunt ~0.4.1

You should be comfy with the grunt basics and npm so you can install this in your project

> npm install grunt-skippy --save-dev

Add something like this to your Gruntfile: (uglify is just an example, use skippy with any task that transforms source files to dest files)

grunt.loadNpmTasks('grunt-skippy');
grunt.loadNpmTasks('grunt-contrib-uglify');

grunt.initConfig({
  uglify: {
    thirdparty: {
      dest: 'public/build/js/thirdparty/index.js'
      src: [
        'es5-shim.js',
        'jquery-1.9.1.js',
        'underscore.js',
        'backbone.js',
        'Backbone.ModelBinder.js',
        'Backbone.CollectionBinder.js'
      ]
    }
});