<commit_before>/*global module:false*/
module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    name: 'taxi',
    pkg: '<json:package.json>',
    meta: {
      banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
        '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
        '<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
        '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
        ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
    },
    header : ';(function () {',
    footer : 'taxi.version = "<%= pkg.version %>";\n})();',
    lint: {
      grunt : ['grunt.js'],
      src : ['src/**/*.js'],
      test : ['test/**/*.js']
    },
    qunit: {
      files: ['test/**/*.html']
    },
    concat: {
      vendor: {
        src: [
          'vendor/jquery*.js',
          'vendor/underscore*.js',
          'vendor/backbone*.js',
          'vendor/handlebars.runtime*.js'
        ],
        dest: 'dist/vendor.js'
      },
      'vendor-test-js': {
        src: [
          'vendor/mocha*.js',
          'vendor/chai*.js',
          'vendor/sinon*.js',
          'vendor/grunt-mocha-helper*.js'
        ],
        dest: 'dist/vendor-test.js'
      },
      'vendor-test-css': {
        src: [
          'vendor/mocha*.css'
        ],
        dest: 'dist/vendor-test.css'
      },
      test: {
        src: [
          'test/**/*.js'
        ],
        dest: 'dist/test.js'
      },
      src: {
        src: [
          'src/taxi.js',
          'src/DriverModel.js',
          'src/**/*.js'
        ],
        dest: 'dist/src.js'
      },
      dist: {
        src: [
          '<banner:meta.banner>',
          '<banner:header>',
          'dist/src.js',
          'dist/templates.js',
          '<banner:footer>'
        ],
        dest: 'dist/<%= name %>.js'
      }
    },
    min: {
      dist: {
        src: ['<banner:meta.banner>', '<config:concat.dist.dest>'],
        dest: 'dist/<%= name %>.min.js' }
    },
    watch: {
      files: [
        'src/**/*',
        'test/**/*',
        'index.html'
      ],
      tasks: 'build reload'
    },
    jshint: {
      options: {
        curly: true,
        eqeqeq: true,
        immed: true,
        latedef: true,
        newcap: true,
        noarg: true,
        sub: true,
        undef: true,
        boss: true,
        eqnull: true,
        browser: true
      },
      globals: {
        'console': true,
        '_': true,
        'Backbone': true,
        '$': true,
        'taxi': true
      },
      test: {<commit_msg>Add complete build containing vendor scripts.<commit_after>/*global module:false*/
module.exports = function(grunt) {

  // Project configuration.
  grunt.initConfig({
    name: 'taxi',
    pkg: '<json:package.json>',
    meta: {
      banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' +
        '<%= grunt.template.today("yyyy-mm-dd") %>\n' +
        '<%= pkg.homepage ? "* " + pkg.homepage + "\n" : "" %>' +
        '* Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>;' +
        ' Licensed <%= _.pluck(pkg.licenses, "type").join(", ") %> */'
    },
    header : ';(function () {',
    footer : 'taxi.version = "<%= pkg.version %>";\n})();',
    lint: {
      grunt : ['grunt.js'],
      src : ['src/**/*.js'],
      test : ['test/**/*.js']
    },
    qunit: {
      files: ['test/**/*.html']
    },
    concat: {
      vendor: {
        src: [
          'vendor/jquery*.js',
          'vendor/underscore*.js',
          'vendor/backbone*.js',
          'vendor/handlebars.runtime*.js'
        ],
        dest: 'dist/vendor.js'
      },
      'vendor-test-js': {
        src: [
          'vendor/mocha*.js',
          'vendor/chai*.js',
          'vendor/sinon*.js',
          'vendor/grunt-mocha-helper*.js'
        ],
        dest: 'dist/vendor-test.js'
      },
      'vendor-test-css': {
        src: [
          'vendor/mocha*.css'
        ],
        dest: 'dist/vendor-test.css'
      },
      test: {
        src: [
          'test/**/*.js'
        ],
        dest: 'dist/test.js'
      },
      src: {
        src: [
          'src/taxi.js',
          'src/DriverModel.js',
          'src/**/*.js'
        ],
        dest: 'dist/src.js'
      },
      dist: {
        src: [
          '<banner:meta.banner>',
          '<banner:header>',
          'dist/src.js',
          'dist/templates.js',
          '<banner:footer>'
        ],
        dest: 'dist/<%= name %>.js'
      },
      'dist-complete': {
        src: [
          'dist/vendor.js',
          '<config:concat.dist.dest>'
        ],
        dest: 'dist/<%= name %>-complete.js'
      }
    },
    min: {
      dist: {
        src: ['<banner:meta.banner>', '<config:concat.dist.dest>'],
        dest: 'dist/<%= name %>.min.js'
      },
      'dist-complete': {
        src: ['<banner:meta.banner>', '<config:concat.dist-complete.dest>'],
        dest: 'dist/<%= name %>-complete.min.js'
      }
    },
    watch: {
      files: [
        'src/**/*',
        'test/**/*',
        'index.html'
      ],
      tasks: 'build reload'
    },
    jshint: {
      options: {
        curly: true,
        eqeqeq: true,
        immed: true,
        latedef: true,
        newcap: true,
        noarg: true,
        sub: true,
        undef: true,
        boss: true,
        eqnull: true,
        browser: true
      },
      globals: {
        'console': true,
        '_': true,
        'Backbone': true,
        '$': true,
        'taxi': true
      },
      test: {
{'fraction_non_alphanumeric': 0.2093273542600897, 'fraction_numerical': 0.0, 'mean_word_length': 1.4013781223083548, 'pattern_counts': {'":': 0, '<': 40, '<?xml version=': 0, '>': 40, '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': '1098766', 'n_tokens_mistral': 1976, 'n_tokens_neox': 1935, 'n_words': 303}