<commit_before>module.exports = function (grunt) {
    grunt.initConfig({
        //Read package information
        pkg: grunt.file.readJSON('package.json'),

        bower: {
            install: {
                options: {
                    targetDir: './vendor',
                    install: true,
                    verbose: true,
                    cleanTargetDir: true,
                    cleanBowerDir: true,
                    bowerOptions: {}
                }
            }
        },

        concat: {
            options: {
                separator: ';',
                banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
            },
            dist: {
                src: [
                    'vendor/angular/angular.js',
                    'vendor/jquery/jquery.js',
                    'vendor/**/*.js',
                    'src/app/app.js'
                ],
                dest: 'web/js/app.js' //<%= pkg.name %>-<%= pkg.version %>.js
            }
        },

        copy: {
            dist: {
                files: [{
                    flatten: true,
                    src: 'src/index.html',
                    dest: 'web/index.html'
                }, {
                    expand: true,
                    cwd: 'src/assets/images',
                    src: '*',
                    dest: 'web/images/'
                }
                ]
            }
        },

        watch: {
            scripts: {
                files: [
                    'src/**/*.js',
                    'src/**/*.html'
                ],
                tasks: ['compile']
            }
        },

        less: {
            dist: {
                files: {
                    "web/css/style.css": "vendor/**/*.css"
                }
            }
        }

    });

    grunt.loadNpmTasks('grunt-bower-task');
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-less');

    grunt.registerTask('default', ['bower:install', 'concat:dist', 'copy:dist']);
    grunt.registerTask('compile', ['concat:dist', 'less', 'copy:dist']);
};
<commit_msg>Added less task to the default grunt task<commit_after>module.exports = function (grunt) {
    grunt.initConfig({
        //Read package information
        pkg: grunt.file.readJSON('package.json'),

        bower: {
            install: {
                options: {
                    targetDir: './vendor',
                    install: true,
                    verbose: true,
                    cleanTargetDir: true,
                    cleanBowerDir: true,
                    bowerOptions: {}
                }
            }
        },

        concat: {
            options: {
                separator: ';',
                banner: '/*! <%= pkg.name %> <%= grunt.template.today("dd-mm-yyyy") %> */\n'
            },
            dist: {
                src: [
                    'vendor/angular/angular.js',
                    'vendor/jquery/jquery.js',
                    'vendor/**/*.js',
                    'src/app/app.js'
                ],
                dest: 'web/js/app.js' //<%= pkg.name %>-<%= pkg.version %>.js
            }
        },

        copy: {
            dist: {
                files: [{
                    flatten: true,
                    src: 'src/index.html',
                    dest: 'web/index.html'
                }, {
                    expand: true,
                    cwd: 'src/assets/images',
                    src: '*',
                    dest: 'web/images/'
                }
                ]
            }
        },

        watch: {
            scripts: {
                files: [
                    'src/**/*.js',
                    'src/**/*.html'
                ],
                tasks: ['compile']
            }
        },

        less: {
            dist: {
                files: {
                    "web/css/style.css": "vendor/**/*.css"
                }
            }
        }

    });

    grunt.loadNpmTasks('grunt-bower-task');
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-less');

    grunt.registerTask('default', ['bower:install', 'concat:dist', 'less', 'copy:dist']);
    grunt.registerTask('compile', ['concat:dist', 'less', 'copy:dist']);
};

{'fraction_non_alphanumeric': 0.14804096170970615, 'fraction_numerical': 0.0, 'mean_word_length': 0.9526292916123424, 'pattern_counts': {'":': 2, '<': 11, '<?xml version=': 0, '>': 11, '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': '4062873', 'n_tokens_mistral': 1304, 'n_tokens_neox': 1183, 'n_words': 172}