<commit_before>/* jshint browser: false, node: true */

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

    grunt.initConfig({
        jshint : {
            options : {
                jshintrc : true
            },
            all : [
                "bower.json",
                "package.json",
                "*.js",
                // "js/**/*.js",
                "server/**/*.js"
            ]
        },
        jscs: {
            src: "<%= jshint.all %>",
            options: {
                config: ".jscsrc"
            }
        },

        clean: ["./build"],
        copy: {
            //paper: { src: "bower_components/paper/dist/paper-full.min.js", dest: "build/js/paper-full.min.js" },
            html: { src: "index-build.html", dest: "build/index.html" },
            images: { expand: true, cwd: "images", src: "**", dest: "build/images/" }
        },
        cssmin: {
            combine: {
                files: {
                    "build/style.css": [
                        "bower_components/bootstrap/dist/css/bootstrap.min.css",
                        "bower_components/pick-a-color/build/1.2.3/css/pick-a-color-1.2.3.min.css",
                        "css/basic.css"
                    ]
                }
            }
        },
        requirejs: {
            compile: {
                options: {
                    mainConfigFile: "js/src/main.js",
                    baseUrl: "js/src/",
                    paths : {
                        "jquery" : "empty:",
                        "backbone" : "empty:",
                        "underscore" : "empty:",
                        "handlebars"  : "empty:"
                    },
                    name: "app",
                    out: "build/js/app.js",
                    // optimize: "none",
                    useStrict: true
                }
            }
        }

    });

    grunt.loadNpmTasks("grunt-contrib-jshint");
    grunt.loadNpmTasks("grunt-jscs");

    grunt.loadNpmTasks("grunt-contrib-clean");
    grunt.loadNpmTasks("grunt-contrib-copy");
    grunt.loadNpmTasks("grunt-contrib-cssmin");
    grunt.loadNpmTasks("grunt-contrib-requirejs");

    grunt.registerTask("test", ["jshint", "jscs"]);

    grunt.registerTask("build", [
        "test", "clean", "copy:html", "copy:images", "cssmin", "requirejs"
    ]);

    grunt.registerTask("default", ["test"]);

};<commit_msg>modified grunt to create fonts for build<commit_after>/* jshint browser: false, node: true */

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

    grunt.initConfig({
        jshint : {
            options : {
                jshintrc : true
            },
            all : [
                "bower.json",
                "package.json",
                "*.js",
                // "js/**/*.js",
                "server/**/*.js"
            ]
        },
        jscs: {
            src: "<%= jshint.all %>",
            options: {
                config: ".jscsrc"
            }
        },

        clean: ["./build"],
        copy: {
            //paper: { src: "bower_components/paper/dist/paper-full.min.js", dest: "build/js/paper-full.min.js" },
            html: { src: "index-build.html", dest: "build/index.html" },
            images: { expand: true, cwd: "images", src: "**", dest: "build/images/" },
            fonts: { expand: true, cwd: "fonts", src: "**", dest: "build/fonts/" }
        },
        cssmin: {
            combine: {
                files: {
                    "build/style.css": [
                        "bower_components/bootstrap/dist/css/bootstrap.min.css",
                        "bower_components/pick-a-color/build/1.2.3/css/pick-a-color-1.2.3.min.css",
                        "css/basic.css"
                    ]
                }
            }
        },
        requirejs: {
            compile: {
                options: {
                    mainConfigFile: "js/src/main.js",
                    baseUrl: "js/src/",
                    paths : {
                        "jquery" : "empty:",
                        "backbone" : "empty:",
                        "underscore" : "empty:",
                        "handlebars"  : "empty:"
                    },
                    name: "app",
                    out: "build/js/app.js",
                    // optimize: "none",
                    useStrict: true
                }
            }
        }

    });

    grunt.loadNpmTasks("grunt-contrib-jshint");
    grunt.loadNpmTasks("grunt-jscs");

    grunt.loadNpmTasks("grunt-contrib-clean");
    grunt.loadNpmTasks("grunt-contrib-copy");
    grunt.loadNpmTasks("grunt-contrib-cssmin");
    grunt.loadNpmTasks("grunt-contrib-requirejs");

    grunt.registerTask("test", ["jshint", "jscs"]);

    grunt.registerTask("build", [
        "test", "clean", "copy:html", "copy:images", "copy:fonts", "cssmin", "requirejs"
    ]);

    grunt.registerTask("default", ["test"]);

};
{'fraction_non_alphanumeric': 0.15987841945288753, 'fraction_numerical': 0.0024316109422492403, 'mean_word_length': 1.1773268636965153, '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': '5577912', 'n_tokens_mistral': 1522, 'n_tokens_neox': 1440, 'n_words': 211}