<commit_before>
module.exports = function(grunt) {
    'use strict';

    // Module configs
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        banner:
            '/*\n' +
            '* <%= pkg.name %>\n' +
            '* <%= pkg.description %>\n' +
            '* Version: "<%= pkg.version %>"\n' +
            '* <%= pkg.author %>\n' +
            '* <%= pkg.homepage %>\n' +
            '*/' +
            '\n',
        watch: {
            options: {
                dateFormat: function(time) {
                    grunt.log.writeln('The watch finished in ' + time + 'ms at' + (new Date()).toString());
                    grunt.log.writeln('Waiting for more changes...');
                }
            },
            scripts: {
                files: ['scss/plusslider.scss', 'scss/minimal.scss', 'js/jquery.plusslider.js'],
                tasks: ['version', 'compass', 'uglify']
            },
        },

        compass: {
            dist: {
                options: { // Target options
                    specify: 'scss/*.scss',
                    banner: '<%= banner %>',
                    relativeAssets: true,
                    cssDir: 'css',
                    sassDir: 'scss',
                    imagesDir: 'img',
                    outputStyle: 'compressed'
                }
            }
        },

        version: {
            sass_files: {
                options: {
                    prefix: 'Version\:\\s+[\'"]'
                },
                src: ['scss/plusslider.scss','scss/minimal.scss']
            },
            jquery_json: {
                options: {
                    prefix: '"version"\:\\s+[\'"]'
                },
                src: ['plusslider.jquery.json']
            }
        },

        uglify: {
            options: {
                banner: '<%= banner %>',
            },
            my_target: {
                files: {
                    'js/jquery.plusslider.min.js': ['js/jquery.plusslider.js']
                }
            }
        }
    });

    // Load tasks
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-compass');
    grunt.loadNpmTasks('grunt-version');
    grunt.loadNpmTasks('grunt-contrib-uglify');

    // Register tasks for the `grunt` terminal command
    grunt.registerTask('default', ['watch', 'compass', 'version', 'uglify']);
};<commit_msg>added license to banner Added banner to main js file<commit_after>
module.exports = function(grunt) {
    'use strict';

    // Module configs
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        banner:
            '/*\n' +
            ' * <%= pkg.name %>\n' +
            ' * <%= pkg.description %>\n' +
            ' * Version: "<%= pkg.version %>"\n' +
            ' * <%= pkg.author %>\n' +
            ' * <%= pkg.homepage %>\n' +
            ' * License: <%= pkg.homepage %>\n' +
            ' */' +
            '\n',
        watch: {
            options: {
                dateFormat: function(time) {
                    grunt.log.writeln('The watch finished in ' + time + 'ms at' + (new Date()).toString());
                    grunt.log.writeln('Waiting for more changes...');
                }
            },
            scripts: {
                files: ['scss/plusslider.scss', 'scss/minimal.scss', 'js/jquery.plusslider.js'],
                tasks: ['version', 'compass', 'uglify']
            },
        },

        compass: {
            dist: {
                options: { // Target options
                    specify: 'scss/*.scss',
                    banner: '<%= banner %>',
                    relativeAssets: true,
                    cssDir: 'css',
                    sassDir: 'scss',
                    imagesDir: 'img',
                    outputStyle: 'compressed'
                }
            }
        },

        version: {
            sass_files: {
                options: {
                    prefix: 'Version\:\\s+[\'"]'
                },
                src: ['scss/plusslider.scss','scss/minimal.scss']
            },
            jquery_json: {
                options: {
                    prefix: '"version"\:\\s+[\'"]'
                },
                src: ['plusslider.jquery.json']
            },
            js_files: {
                options: {
                    prefix: 'Version\:\\s+[\'"]'
                },
                src: ['js/jquery.plusslider.js']
            }
        },

        uglify: {
            options: {
                banner: '<%= banner %>',
            },
            my_target: {
                files: {
                    'js/jquery.plusslider.min.js': ['js/jquery.plusslider.js']
                }
            }
        }
    });

    // Load tasks
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-compass');
    grunt.loadNpmTasks('grunt-version');
    grunt.loadNpmTasks('grunt-contrib-uglify');

    // Register tasks for the `grunt` terminal command
    grunt.registerTask('default', ['watch', 'compass', 'version', 'uglify']);
};
{'fraction_non_alphanumeric': 0.15887666928515318, 'fraction_numerical': 0.0, 'mean_word_length': 1.1274018379281536, 'pattern_counts': {'":': 0, '<': 18, '<?xml version=': 0, '>': 18, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1113868', 'n_tokens_mistral': 1551, 'n_tokens_neox': 1430, 'n_words': 234}