Ticket #26615: validate.diff
File validate.diff, 1.4 KB (added by , 11 years ago) |
---|
-
Gruntfile.js
321 321 dest: BUILD_DIR + 'wp-includes/js/tinymce/wp-tinymce.js.gz' 322 322 } 323 323 }, 324 jsvalidate:{ 325 options:{ 326 globals: {}, 327 esprimaOptions:{}, 328 verbose: false 329 }, 330 build: { 331 files: { 332 src: BUILD_DIR + '/**/*.js' 333 } 334 } 335 }, 324 336 watch: { 325 337 all: { 326 338 files: [ … … 370 382 371 383 // Build task. 372 384 grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core', 'colors', 'rtl', 'cssmin:rtl', 'cssmin:colors', 373 'uglify:core', 'uglify:tinymce', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce' ]);385 'uglify:core', 'uglify:tinymce', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce', 'jsvalidate:build']); 374 386 375 387 // Testing tasks. 376 388 grunt.registerMultiTask('phpunit', 'Runs PHPUnit tests, including the ajax and multisite tests.', function() { -
package.json
21 21 "grunt-contrib-jshint": "~0.7.0", 22 22 "grunt-cssjanus": "git://github.com/yoavf/grunt-cssjanus.git#e0158f4087d1c4bb5a8d1648a63ef133338b5879", 23 23 "grunt-sass": "~0.8.0", 24 "grunt-jsvalidate": "~0.2.2", 24 25 "matchdep": "~0.1.2" 25 26 } 26 27 }