<commit_before>module.exports = function (grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        concat: {
            options: {
                separator: ';'
            },
            dist: {
                src: [
                    'src/js/vendor/jquery-1.10.2.min.js',
                    'src/js/vendor/angular.js',
                    'src/js/vendor/angular-route.js',
                    'src/js/vendor/showdown.js',
                    'src/js/vendor/highlight.pack.js',
                    'src/js/vendor/underscore.js',
                    'src/js/vendor/underscore.string.js',
                    'src/js/vendor/ace.min.js',
                    'src/js/vendor/ace-mode-markdown.min.js',
                    'src/js/app.js',
                    'build/js/app.templates.js',
                    'src/js/routes.js',
                    'src/js/controllers.js',
                    'src/js/directives/*.js'
                ],
                dest: 'dist/js/<%= pkg.name %>.js'
            }
        },
        copy: {
            main: {
                files: [
                    {expand: true, cwd: 'src', src: ['fonts/**'], dest: 'dist/'},
                    {expand: true, cwd: 'src', src: ['blog/**'], dest: 'dist/'}
                ]
            }
        },
        targethtml: {
            dist: {
                files: {
                    'dist/index.html': 'src/index.html'
                }
            }
        },
        karma: {
            unit: {
                configFile: 'conf/karma.conf.js',
                singleRun: true
            }
        },
        less: {
            dist: {
                options: {
                    paths: ["assets/css"],
                    yuicompress: true
                },
                files: {
                    "dist/css/main.css": "src/less/custom.less"
                }
            }
        },
        ngtemplates: {
            ngBlog: {
                cwd:      'src',
                src:      ['views/**.html', 'tpl/**.html'],
                dest:     'build/js/app.templates.js'
            }
        }
    });
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-targethtml');
    grunt.loadNpmTasks('grunt-karma');
    grunt.loadNpmTasks('grunt-contrib-less');
    grunt.loadNpmTasks('grunt-angular-templates');
    grunt.registerTask('dist', ['ngtemplates', 'karma', 'less', 'concat', 'targethtml', 'copy']);
};
<commit_msg>remove ace editor from dist<commit_after>module.exports = function (grunt) {
    grunt.initConfig({
        pkg: grunt.file.readJSON('package.json'),
        concat: {
            options: {
                separator: ';'
            },
            dist: {
                src: [
                    'src/js/vendor/jquery-1.10.2.min.js',
                    'src/js/vendor/angular.min.js',
                    'src/js/vendor/angular-route.js',
                    'src/js/vendor/showdown.js',
                    'src/js/vendor/highlight.pack.js',
                    'src/js/vendor/underscore.js',
                    'src/js/vendor/underscore.string.js',
                    //'src/js/vendor/ace.min.js',
                    //'src/js/vendor/ace-mode-markdown.min.js',
                    'src/js/app.js',
                    'build/js/app.templates.js',
                    'src/js/routes.js',
                    'src/js/controllers.js',
                    'src/js/directives/*.js'
                ],
                dest: 'dist/js/<%= pkg.name %>.js'
            }
        },
        copy: {
            main: {
                files: [
                    {expand: true, cwd: 'src', src: ['fonts/**'], dest: 'dist/'},
                    {expand: true, cwd: 'src', src: ['blog/**'], dest: 'dist/'}
                ]
            }
        },
        targethtml: {
            dist: {
                files: {
                    'dist/index.html': 'src/index.html'
                }
            }
        },
        karma: {
            unit: {
                configFile: 'conf/karma.conf.js',
                singleRun: true
            }
        },
        less: {
            dist: {
                options: {
                    paths: ["assets/css"],
                    yuicompress: true
                },
                files: {
                    "dist/css/main.css": "src/less/custom.less"
                }
            }
        },
        ngtemplates: {
            ngBlog: {
                cwd:      'src',
                src:      ['views/**.html', 'tpl/**.html'],
                dest:     'build/js/app.templates.js'
            }
        }
    });
    grunt.loadNpmTasks('grunt-contrib-concat');
    grunt.loadNpmTasks('grunt-contrib-copy');
    grunt.loadNpmTasks('grunt-targethtml');
    grunt.loadNpmTasks('grunt-karma');
    grunt.loadNpmTasks('grunt-contrib-less');
    grunt.loadNpmTasks('grunt-angular-templates');
    grunt.registerTask('dist', ['ngtemplates', 'karma', 'less', 'concat', 'targethtml', 'copy']);
};

{'fraction_non_alphanumeric': 0.15367965367965367, 'fraction_numerical': 0.0015741833923652105, 'mean_word_length': 1.0380914194065758, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, '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': '7095228', 'n_tokens_mistral': 1551, 'n_tokens_neox': 1452, 'n_words': 186}