<commit_before>
module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    pkg: '<json:package.json>',
    meta: {
      banner: '// <%= pkg.title %> v<%= pkg.version %>\n' +
              '//\n' +
              '// Copyright (c) 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>\n' +
              '// Distributed under MIT License\n' +
              '//\n' +
              '// Documentation and full license available at:\n' +
              '// <%= pkg.homepage %>'
    },
    rig: {
      browser: {
        src: ['<banner:meta.banner>', '<file_strip_banner:src/<%= pkg.name %>.js>'],
        dest: 'dist/<%= pkg.name %>.js'
      },
      amd: {
        src: ['<banner:meta.banner>', '<file_strip_banner:src/<%= pkg.name %>-amd.js>'],
        dest: 'dist/<%= pkg.name %>-amd.js'
      }
    },
    min: {
      browser: {
        src: ['<banner:meta.banner>', '<config:rig.browser.dest>'],
        dest: 'dist/<%= pkg.name %>-min.js'
      },
      amd: {
        src: ['<banner:meta.banner>', '<config:rig.amd.dest>'],
        dest: 'dist/<%= pkg.name %>-amd-min.js'
      }
    },
    watch: {
      files: '<config:lint.files>',
      tasks: 'default'
    },
    buster: {
      test: {
        'config': 'buster.js',
        'color': 'none',
        'config-group': 'Browser'
      },
      server: {
        'port': '1111'
      }
    },
    lint: {
      files: ['grunt.js', 'src/**/*.js', 'tests/**/*.js']
    },
    jshint: {
      options: {
        curly: true,
        eqeqeq: true,
        immed: true,
        latedef: true,
        newcap: true,
        noarg: true,
        sub: true,
        undef: true,
        boss: true,
        eqnull: true,
        browser: true,
        node: true
      },
      globals: {
        Backbone: true,
        _: true,
        jQuery: true,
        $: true,
        buster: true,
        assert: true,
        refute: true,
        define: true
      }
    },
    uglify: {},
    docco: {
      app: {
        src: ['dist/backbone-validation.js'],
        options: {
          template: 'docco.jst'
        }
      }
    },

    shell: {
      npm: {
        command: 'npm publish',
        stdout: true
      },
      clone: {
        command: 'git clone <EMAIL>:thedersen/thedersen.github.com.git',
        stdout: true
      },
      copyDocco: {
        command: 'cp docs/backbone-validation.html thedersen.github.com/projects/backbone-validation/docs/index.html',
        stdout: true
      },
      copyCss: {
        command: 'cp docs/docco.css thedersen.github.com/projects/backbone-validation/docs/docco.css',
        stdout: true
      },
      copyExamples: {
        command: 'cp examples/* thedersen.github.com/projects/backbone-validation/example',
        stdout: true
      },
      push: {
        command: 'git commit -am "Updated docs for Backbone.Validation" && git push origin master',
        stdout: true,
        execOptions: {
          cwd: 'thedersen.github.com'
        }
      },
      cleanup: {
        command: 'rm -rf thedersen.github.com',
        stdout: true
      }
    }
  });

  grunt.registerTask('default', 'rig lint buster min');
  grunt.registerTask('publish', 'docco shell');

  grunt.loadNpmTasks('grunt-buster');
  grunt.loadNpmTasks('grunt-docco');
  grunt.loadNpmTasks('grunt-shell');
  grunt.loadNpmTasks('grunt-rigger');
};
<commit_msg>Fixed error in cp command in grunt<commit_after>
module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    pkg: '<json:package.json>',
    meta: {
      banner: '// <%= pkg.title %> v<%= pkg.version %>\n' +
              '//\n' +
              '// Copyright (c) 2011-<%= grunt.template.today("yyyy") %> <%= pkg.author.name %>\n' +
              '// Distributed under MIT License\n' +
              '//\n' +
              '// Documentation and full license available at:\n' +
              '// <%= pkg.homepage %>'
    },
    rig: {
      browser: {
        src: ['<banner:meta.banner>', '<file_strip_banner:src/<%= pkg.name %>.js>'],
        dest: 'dist/<%= pkg.name %>.js'
      },
      amd: {
        src: ['<banner:meta.banner>', '<file_strip_banner:src/<%= pkg.name %>-amd.js>'],
        dest: 'dist/<%= pkg.name %>-amd.js'
      }
    },
    min: {
      browser: {
        src: ['<banner:meta.banner>', '<config:rig.browser.dest>'],
        dest: 'dist/<%= pkg.name %>-min.js'
      },
      amd: {
        src: ['<banner:meta.banner>', '<config:rig.amd.dest>'],
        dest: 'dist/<%= pkg.name %>-amd-min.js'
      }
    },
    watch: {
      files: '<config:lint.files>',
      tasks: 'default'
    },
    buster: {
      test: {
        'config': 'buster.js',
        'color': 'none',
        'config-group': 'Browser'
      },
      server: {
        'port': '1111'
      }
    },
    lint: {
      files: ['grunt.js', 'src/**/*.js', 'tests/**/*.js']
    },
    jshint: {
      options: {
        curly: true,
        eqeqeq: true,
        immed: true,
        latedef: true,
        newcap: true,
        noarg: true,
        sub: true,
        undef: true,
        boss: true,
        eqnull: true,
        browser: true,
        node: true
      },
      globals: {
        Backbone: true,
        _: true,
        jQuery: true,
        $: true,
        buster: true,
        assert: true,
        refute: true,
        define: true
      }
    },
    uglify: {},
    docco: {
      app: {
        src: ['dist/backbone-validation.js'],
        options: {
          template: 'docco.jst'
        }
      }
    },

    shell: {
      npm: {
        command: 'npm publish',
        stdout: true
      },
      clone: {
        command: 'git clone <EMAIL>:thedersen/thedersen.github.com.git',
        stdout: true
      },
      copyDocco: {
        command: 'cp docs/backbone-validation.html thedersen.github.com/projects/backbone-validation/docs/index.html',
        stdout: true
      },
      copyCss: {
        command: 'cp docs/docco.css thedersen.github.com/projects/backbone-validation/docs/docco.css',
        stdout: true
      },
      copyExamples: {
        command: 'cp -rf examples/ thedersen.github.com/projects/backbone-validation/examples/',
        stdout: true
      },
      push: {
        command: 'git commit -am "Updated docs for Backbone.Validation" && git push origin master',
        stdout: true,
        execOptions: {
          cwd: 'thedersen.github.com'
        }
      },
      cleanup: {
        command: 'rm -rf thedersen.github.com',
        stdout: true
      }
    }
  });

  grunt.registerTask('default', 'rig lint buster min');
  grunt.registerTask('publish', 'docco shell');

  grunt.loadNpmTasks('grunt-buster');
  grunt.loadNpmTasks('grunt-docco');
  grunt.loadNpmTasks('grunt-shell');
  grunt.loadNpmTasks('grunt-rigger');
};

{'fraction_non_alphanumeric': 0.17279411764705882, 'fraction_numerical': 0.002352941176470588, 'mean_word_length': 1.707404458598726, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 47, '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': '6824140', 'n_tokens_mistral': 2404, 'n_tokens_neox': 2286, 'n_words': 433}