'use strict';

module.exports = function (grunt) {
    require('time-grunt')(grunt);
    require('load-grunt-tasks')(grunt);

    grunt.initConfig({
        // Configurable paths
        config: {
            lintFiles: [
                'angular-bind-html-compile.js'
            ]
        },
        jshint: {
            options: {
                jshintrc: '.jshintrc'
            },
            all: [
                '<%= config.lintFiles %>'
            ]
        },
        jscs: {
            options: {
                config: '.jscsrc'
            },
            src: '<%= config.lintFiles %>'
        },
        uglify: {
            build: {
                files: {
                    'angular-bind-html-compile.min.js': 'angular-bind-html-compile.js'
                }
            }
        }
    });

    grunt.registerTask('lint', [
        'jshint',
        'jscs'
    ]);

    grunt.registerTask('test', [
        'lint'
    ]);

    grunt.registerTask('build', [
        'uglify'
    ]);
};

'use strict';

module.exports = function (grunt) {
    require('time-grunt')(grunt);
    require('load-grunt-tasks')(grunt);

    grunt.initConfig({
        // Configurable paths
        config: {
            lintFiles: [
                '**/*.js',
                '!*.min.js'
            ]
        },
        jshint: {
            options: {
                jshintrc: '.jshintrc'
            },
            all: [
                '<%= config.lintFiles %>'
            ]
        },
        jscs: {
            options: {
                config: '.jscsrc'
            },
            src: '<%= config.lintFiles %>'
        },
        uglify: {
            build: {
                files: {
                    'angular-bind-html-compile.min.js': 'angular-bind-html-compile.js'
                }
            }
        }
    });

    grunt.registerTask('lint', [
        'jshint',
        'jscs'
    ]);

    grunt.registerTask('test', [
        'lint'
    ]);

    grunt.registerTask('build', [
        'uglify'
    ]);
};

Revert "Revert "Added support for multiple files (excluding minified scripts)""
Revert "Revert "Added support for multiple files (excluding minified scripts)""

This reverts commit fde48e384ec241fef5d6c4c80a62e3f32f9cc7ab.
