Changeset 26063
- Timestamp:
- 11/09/2013 08:43:58 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r26043 r26063 24 24 BUILD_DIR + 'wp-includes/js/tinymce/mark_loaded.js' 25 25 ] 26 } 26 }, 27 qunit: ['tests/qunit/compiled.html'] 27 28 }, 28 29 copy: { … … 65 66 dest: BUILD_DIR, 66 67 src: [] 68 }, 69 'qunit-compiled': { 70 src: 'tests/qunit/index.html', 71 dest: 'tests/qunit/compiled.html', 72 options: { 73 processContent: function( src ) { 74 return src.replace( /([^\.])*\.\.\/src/ig , '/../build' ); 75 } 76 } 67 77 } 68 78 }, … … 250 260 'uglify:tinymce', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce']); 251 261 252 // Testing task .262 // Testing tasks. 253 263 grunt.registerTask('test', ['qunit']); 264 grunt.registerTask('test:compiled', ['build', 'clean:qunit', 'copy:qunit-compiled', 'qunit']); 254 265 255 266 // Default task.
Note: See TracChangeset
for help on using the changeset viewer.