<commit_before>"use strict";
/*

    Many of these tasks are configured using variables defined in `package.json`.  Check that file for the actual
    settings.

*/

module.exports = function (grunt) {
    var pkg = grunt.file.readJSON("package.json");
    grunt.initConfig({
        pkg: pkg,
        jshint: {
            src: ["./**/*.js"],
            buildScripts: ["Gruntfile.js"],
            options: {
                jshintrc: true
            }
        },
        jsonlint: {
            src: ["tests/**/*.json"]
        },
        clean: [ "<%= pkg.config.srcDir %>" ],
        gitclone: {
            clone_couchdb_lucene: {
                options: {
                    cwd:        "<%= pkg.config.buildDir %>",
                    repository: "<%= pkg.config.url %>"
                }
            }
        },
        gitcheckout: {
            checkout_couchdb_lucene_hash: {
                options: {
                    cwd:    "<%= pkg.config.srcDir %>",
                    branch: "<%= pkg.config.hash %>"
                }
            }
        },
        exec: {
            couchdb_maven_build: {
                cwd: "<%= pkg.config.srcDir %>",
                cmd: "mvn -Dmaven.test.skip=true"
            }
        }
    });

    grunt.loadNpmTasks("grunt-contrib-jshint");
    grunt.loadNpmTasks("grunt-jsonlint");
    grunt.loadNpmTasks("grunt-shell");
    grunt.loadNpmTasks("grunt-gpii");
    grunt.loadNpmTasks("grunt-git");
    grunt.loadNpmTasks("grunt-contrib-clean");
    grunt.loadNpmTasks("grunt-exec");<commit_msg>GPII-1241:  Fixed maven command syntax to work on Windows.<commit_after>"use strict";
/*

    Many of these tasks are configured using variables defined in `package.json`.  Check that file for the actual
    settings.

*/

module.exports = function (grunt) {
    var pkg = grunt.file.readJSON("package.json");
    grunt.initConfig({
        pkg: pkg,
        jshint: {
            src: ["./**/*.js"],
            buildScripts: ["Gruntfile.js"],
            options: {
                jshintrc: true
            }
        },
        jsonlint: {
            src: ["tests/**/*.json"]
        },
        clean: [ "<%= pkg.config.srcDir %>" ],
        gitclone: {
            clone_couchdb_lucene: {
                options: {
                    cwd:        "<%= pkg.config.buildDir %>",
                    repository: "<%= pkg.config.url %>"
                }
            }
        },
        gitcheckout: {
            checkout_couchdb_lucene_hash: {
                options: {
                    cwd:    "<%= pkg.config.srcDir %>",
                    branch: "<%= pkg.config.hash %>"
                }
            }
        },
        exec: {
            couchdb_maven_build: {
                cwd: "<%= pkg.config.srcDir %>",
                cmd: "mvn -D maven.test.skip=true"
            }
        }
    });

    grunt.loadNpmTasks("grunt-contrib-jshint");
    grunt.loadNpmTasks("grunt-jsonlint");
    grunt.loadNpmTasks("grunt-shell");
    grunt.loadNpmTasks("grunt-gpii");
    grunt.loadNpmTasks("grunt-git");
    grunt.loadNpmTasks("grunt-contrib-clean");
    grunt.loadNpmTasks("grunt-exec");
{'fraction_non_alphanumeric': 0.14670468948035487, 'fraction_numerical': 0.0012674271229404308, 'mean_word_length': 1.430331023864511, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 15, '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': '5642953', 'n_tokens_mistral': 1021, 'n_tokens_neox': 960, 'n_words': 148}