Make WordPress Core

Changeset 28873


Ignore:
Timestamp:
06/28/2014 02:08:05 AM (10 years ago)
Author:
wonderboymusic
Message:

Exclude jshint:plugins from both grunt precommit and grunt travis:js.

Props netweb.
Fixes #28464.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r28812 r28873  
    450450    grunt.registerTask('colors', ['sass:colors', 'autoprefixer:colors']);
    451451
     452    // JSHint task.
     453    grunt.registerTask('jshint:corejs', ['jshint:grunt', 'jshint:tests', 'jshint:themes', 'jshint:core']);
     454
    452455    // Pre-commit task.
    453456    grunt.registerTask('precommit', 'Runs front-end dev/test tasks in preparation for a commit.',
    454         ['autoprefixer:core', 'imagemin:core', 'jshint', 'qunit:compiled']);
     457        ['autoprefixer:core', 'imagemin:core', 'jshint:corejs', 'qunit:compiled']);
    455458
    456459    // Copy task.
     
    476479
    477480    // Travis CI tasks.
    478     grunt.registerTask('travis:js', 'Runs Javascript Travis CI tasks.', [ 'jshint', 'qunit:compiled' ]);
     481    grunt.registerTask('travis:js', 'Runs Javascript Travis CI tasks.', [ 'jshint:corejs', 'qunit:compiled' ]);
    479482    grunt.registerTask('travis:phpunit', 'Runs PHPUnit Travis CI tasks.', 'phpunit');
    480483
Note: See TracChangeset for help on using the changeset viewer.