<commit_before>module.exports = function (grunt) {
    grunt.initConfig({
        clean: {
            src: ['bower_components', 'dist', 'test-jasmine/spec', 'test-jasmine/lib']
        },
        bower: {
            init: {
                options: {
                    copy: false
                }
            }
        },

        concat: {
            dist: {
                src: ['src/init.js', 'src/DateTimeUtils.js'],
                dest: 'dist/joda-js.js'
            }
        },

        watch: {
            dist: {
                files: 'src/*.js',
                tasks: 'dist'
            }
        },

        connect: {
            server: {
                options: {
                    base: "",
                    port: 9999
                }
            }
        },

        'saucelabs-jasmine': {
            all: {
                options: {
                    urls: ["http://127.0.0.1:9999/test-jasmine/SpecRunner.html"],
                    tunnelTimeout: 5,
                    build: process.env.TRAVIS_JOB_ID,
                    concurrency: 3,
                    browsers: [
                        {
                            browserName: "firefox",
                            version: "19",
                            platform: "XP"
                        }
                    ],
                    testname: "General tests",
                    tags: ["master"]
                }
            }
        },

        copy: {
            jasmine: {
                expand: true,
                cwd: 'bower_components/jasmine/',
                src: 'lib/jasmine-core/*.*',
                dest: 'test-jasmine'
            },
            test: {
                expand: true,
                cwd: 'test/',
                src: '**/*.js',
                dest: 'test-jasmine/spec/'
            }
        },

        'sails-linker': {
            defaultOptions: {
                options: {
                    startTag: '<!-- include spec files here... -->',
                    endTag: '  <!-- end spec files -->',
                    fileTmpl: '<script src="%s"></script>',
                    appRoot: 'test-jasmine/'
                },
                files: {
                    'test-jasmine/SpecRunner.html': ['test-jasmine/spec/**/*.js']
                }
            }
        }

    });

    for (var key in grunt.file.readJSON("package.json").devDependencies) {
        if (key !== "grunt" && key.indexOf("grunt") === 0) grunt.loadNpmTasks(key);
    }

    grunt.registerTask('init', ['clean', 'bower:init']);
    grunt.registerTask('default', []);
    grunt.registerTask('dist', ['concat']);
    grunt.registerTask('dev', ['watch']);
    grunt.registerTask("full-test", ['dist', 'copy:jasmine', 'copy:test', 'sails-linker', 'connect', 'saucelabs-jasmine']);
};<commit_msg>rename test grunt task<commit_after>module.exports = function (grunt) {
    grunt.initConfig({
        clean: {
            src: ['bower_components', 'dist', 'test-jasmine/spec', 'test-jasmine/lib']
        },
        bower: {
            init: {
                options: {
                    copy: false
                }
            }
        },

        concat: {
            dist: {
                src: ['src/init.js', 'src/DateTimeUtils.js'],
                dest: 'dist/joda-js.js'
            }
        },

        watch: {
            dist: {
                files: 'src/*.js',
                tasks: 'dist'
            }
        },

        connect: {
            server: {
                options: {
                    base: "",
                    port: 9999
                }
            }
        },

        'saucelabs-jasmine': {
            all: {
                options: {
                    urls: ["http://127.0.0.1:9999/test-jasmine/SpecRunner.html"],
                    tunnelTimeout: 5,
                    build: process.env.TRAVIS_JOB_ID,
                    concurrency: 3,
                    browsers: [
                        {
                            browserName: "firefox",
                            version: "19",
                            platform: "XP"
                        }
                    ],
                    testname: "General tests",
                    tags: ["master"]
                }
            }
        },

        copy: {
            jasmine: {
                expand: true,
                cwd: 'bower_components/jasmine/',
                src: 'lib/jasmine-core/*.*',
                dest: 'test-jasmine'
            },
            test: {
                expand: true,
                cwd: 'test/',
                src: '**/*.js',
                dest: 'test-jasmine/spec/'
            }
        },

        'sails-linker': {
            defaultOptions: {
                options: {
                    startTag: '<!-- include spec files here... -->',
                    endTag: '  <!-- end spec files -->',
                    fileTmpl: '<script src="%s"></script>',
                    appRoot: 'test-jasmine/'
                },
                files: {
                    'test-jasmine/SpecRunner.html': ['test-jasmine/spec/**/*.js']
                }
            }
        }

    });

    for (var key in grunt.file.readJSON("package.json").devDependencies) {
        if (key !== "grunt" && key.indexOf("grunt") === 0) grunt.loadNpmTasks(key);
    }

    grunt.registerTask('init', ['clean', 'bower:init']);
    grunt.registerTask('default', []);
    grunt.registerTask('dist', ['concat']);
    grunt.registerTask('dev', ['watch']);
    grunt.registerTask('test', ['dist', 'copy:jasmine', 'copy:test', 'sails-linker', 'connect', 'saucelabs-jasmine']);
};
{'fraction_non_alphanumeric': 0.14560536533709847, 'fraction_numerical': 0.006706671373102718, 'mean_word_length': 0.9521184981054082, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '4279437', 'n_tokens_mistral': 1649, 'n_tokens_neox': 1493, 'n_words': 247}