Make WordPress Core

Ticket #24980: matchdep2.diff

File matchdep2.diff, 1.7 KB (added by jorbin, 13 years ago)

I think I fixed the tabs vs. spaces issue

  • package.json

     
    33  "version": "3.7.0",
    44  "description": "WordPress is web software you can use to create a beautiful website or blog.",
    55  "repository": {
    6     "type": "svn",
    7     "url": "https://develop.svn.wordpress.org/trunk"
     6        "type": "svn",
     7        "url": "https://develop.svn.wordpress.org/trunk"
    88  },
    99  "author": "The WordPress Contributors",
    1010  "license": "GPLv2 or later",
    1111  "devDependencies": {
    12     "grunt": "~0.4.1",
    13     "grunt-contrib-clean": "~0.5.0",
    14     "grunt-contrib-copy": "~0.4.1",
    15     "grunt-contrib-cssmin": "~0.6.1",
    16     "grunt-contrib-uglify": "~0.2.2",
    17     "grunt-contrib-watch": "~0.5.1"
     12        "grunt": "~0.4.1",
     13        "matchdep": "~0.1.2",
     14        "grunt-contrib-clean": "~0.5.0",
     15        "grunt-contrib-copy": "~0.4.1",
     16        "grunt-contrib-cssmin": "~0.6.1",
     17        "grunt-contrib-uglify": "~0.2.2",
     18        "grunt-contrib-watch": "~0.5.1"
    1819  }
    1920}
  • Gruntfile.js

     
    44        var SOURCE_DIR = 'src/';
    55        var BUILD_DIR = 'build/';
    66
     7        // Load tasks.
     8        require('matchdep').filterDev('grunt-*').forEach( grunt.loadNpmTasks );
     9
     10       
    711        // Project configuration.
    812        grunt.initConfig({
    913                clean: {
     
    106110                }
    107111        });
    108112
    109         // Load tasks.
    110         grunt.loadNpmTasks('grunt-contrib-clean');
    111         grunt.loadNpmTasks('grunt-contrib-copy');
    112         grunt.loadNpmTasks('grunt-contrib-cssmin');
    113         grunt.loadNpmTasks('grunt-contrib-uglify');
    114         grunt.loadNpmTasks('grunt-contrib-watch');
    115113
    116114        // Register tasks.
    117115        grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core',