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

    var buildPath = 'build/';
    var builds = [
        buildPath + 'meetup.boot.js',
        buildPath + 'meetup.main.js',
        buildPath + 'meetup.notify.js',
        buildPath + 'meetup.finish.js',
        //buildPath + 'example.main.js',
    ];

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        uglify: {
//            build: {
//                src: buildPath + '<%= pkg.name %>.js',
//                dest: 'main/js/<%= pkg.name %>.min.js'
//            },
            debug: {
                options: {
//                    banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n',
                    beautify: true,
                    compress: false,
                },
                files: {
                    'main/js/meetup.min.js': builds,
                }
            },
            release: {
                options: {
                    beautify: false,
                    compress: true,
                },
                files: {
                    'release/js/meetup.min.js': builds,
                }
            },
        },
        jshint: {
            all: ['Gruntfile.js', buildPath + '**/*.js']
        },
        concat: {
            options: {
                separator: ';',
            },
            debug: {
                src: builds,
                dest: 'main/js/meetup.js',
            },
            release: {
                src: builds,
                dest: 'release/js/meetup.js',
            },
        },
        watch: {
            scripts: {
                files: [
                    'Gruntfile.js',
                    buildPath + '**/*.js',
                    buildPath + '**/*.scss',
                ],
                tasks: ['default'],
                options: {
                    interrupt: true,
                },
            },
        },
        sass: {
            debug: {
                options: {
                    style: 'expanded',
                },
                files: {
                    './main/css/main.css': buildPath + 'main.scss',
                }
            },
            release: {
                options: {
                    style: 'expanded',
                },
                files: {
                    './release/css/main.css': buildPath + 'main.scss',
                }
            }
        },
    });

    // Load the plugin that provides the "uglify" task.
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-sass');
    grunt.loadNpmTasks('grunt-contrib-jshint');

    // Default task(s).
    grunt.registerTask('default', [
                       'jshint',
                       'concat:debug',
                       'sass:debug',
    ]);
    grunt.registerTask('release', [
                       'jshint',
                       'concat:release',
                       'uglify:release',
                       'sass:release',
    ]);
};
<commit_msg>Removed sass:release task<commit_after>module.exports = function(grunt) {
    "use strict";

    var buildPath = 'build/';
    var builds = [
        buildPath + 'meetup.boot.js',
        buildPath + 'meetup.main.js',
        buildPath + 'meetup.notify.js',
        buildPath + 'meetup.finish.js',
        //buildPath + 'example.main.js',
    ];

    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        uglify: {
//            build: {
//                src: buildPath + '<%= pkg.name %>.js',
//                dest: 'main/js/<%= pkg.name %>.min.js'
//            },
            debug: {
                options: {
//                    banner: '/*! <%= pkg.name %> <%= grunt.template.today("yyyy-mm-dd") %> */\n',
                    beautify: true,
                    compress: false,
                },
                files: {
                    'main/js/meetup.min.js': builds,
                }
            },
            release: {
                options: {
                    beautify: false,
                    compress: true,
                },
                files: {
                    'release/js/meetup.min.js': builds,
                }
            },
        },
        jshint: {
            all: ['Gruntfile.js', buildPath + '**/*.js']
        },
        concat: {
            options: {
                separator: ';',
            },
            debug: {
                src: builds,
                dest: 'main/js/meetup.js',
            },
            release: {
                src: builds,
                dest: 'release/js/meetup.js',
            },
        },
        watch: {
            scripts: {
                files: [
                    'Gruntfile.js',
                    buildPath + '**/*.js',
                    buildPath + '**/*.scss',
                ],
                tasks: ['default'],
                options: {
                    interrupt: true,
                },
            },
        },
        sass: {
            debug: {
                options: {
                    style: 'expanded',
                },
                files: {
                    './main/css/main.css': buildPath + 'main.scss',
                }
            }
        },
    });

    // Load the plugin that provides the "uglify" task.
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-uglify');
    grunt.loadNpmTasks('grunt-contrib-watch');
    grunt.loadNpmTasks('grunt-contrib-sass');
    grunt.loadNpmTasks('grunt-contrib-jshint');

    // Default task(s).
    grunt.registerTask('default', [
                       'jshint',
                       'concat:debug',
                       'sass:debug',
    ]);
    grunt.registerTask('release', [
                       'jshint',
                       'concat:release',
                       'uglify:release',
                       'sass:debug',
    ]);
};

{'fraction_non_alphanumeric': 0.1425732737208147, 'fraction_numerical': 0.0, 'mean_word_length': 0.9235668789808917, 'pattern_counts': {'":': 0, '<': 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': '4348026', 'n_tokens_mistral': 1761, 'n_tokens_neox': 1613, 'n_words': 246}