Ticket #25096: 25096.diff
File 25096.diff, 1.4 KB (added by , 11 years ago) |
---|
-
Gruntfile.js
45 45 ] 46 46 } 47 47 }, 48 qunit: { 49 files: ['tests/qunit/**/*.html'] 50 }, 48 51 uglify: { 49 52 core: { 50 53 expand: true, … … 95 98 spawn: false, 96 99 interval: 2000 97 100 } 101 }, 102 test: { 103 files: ['tests/qunit/**'], 104 tasks: ['qunit'] 98 105 } 99 106 } 100 107 }); … … 103 110 grunt.loadNpmTasks('grunt-contrib-clean'); 104 111 grunt.loadNpmTasks('grunt-contrib-copy'); 105 112 grunt.loadNpmTasks('grunt-contrib-cssmin'); 113 grunt.loadNpmTasks('grunt-contrib-qunit'); 106 114 grunt.loadNpmTasks('grunt-contrib-uglify'); 107 115 grunt.loadNpmTasks('grunt-contrib-watch'); 108 116 … … 110 118 grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core', 111 119 'uglify:core', 'uglify:tinymce']); 112 120 121 // Testing task. 122 grunt.registerTask('test', ['qunit']); 123 113 124 // Default task. 114 125 grunt.registerTask('default', ['build']); 115 126 -
package.json
13 13 "grunt-contrib-clean": "~0.5.0", 14 14 "grunt-contrib-copy": "~0.4.1", 15 15 "grunt-contrib-cssmin": "~0.6.1", 16 "grunt-contrib-qunit": "~0.2.2", 16 17 "grunt-contrib-uglify": "~0.2.2", 17 18 "grunt-contrib-watch": "~0.5.1" 18 19 }