https://github.com/ContentMine/quickscrape
Revision 651ceb098ea19cd51404fa72a958124ca514cf95 authored by Richard Smith-Unna on 14 June 2015, 13:22:22 UTC, committed by Richard Smith-Unna on 14 June 2015, 13:22:22 UTC
1 parent 24866c1
Raw File
Tip revision: 651ceb098ea19cd51404fa72a958124ca514cf95 authored by Richard Smith-Unna on 14 June 2015, 13:22:22 UTC
Handle invalid attributes and log all failed captures in debug
Tip revision: 651ceb0
Gruntfile.js
'use strict';

module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    nodeunit: {
      files: ['test/**/*_test.js'],
    },
    watch: {
      lib: {
        tasks: ['nodeunit']
      },
      test: {
        tasks: ['nodeunit']
      }
    }
  });

  // These plugins provide necessary tasks.
  grunt.loadNpmTasks('grunt-contrib-nodeunit');
  grunt.loadNpmTasks('grunt-contrib-watch');

  // Default task.
  grunt.registerTask('default', ['nodeunit']);

};
back to top