Ticket #44240: 44240.diff
File 44240.diff, 673 bytes (added by , 7 years ago) |
---|
-
Gruntfile.js
1092 1092 '!tests/qunit/editor/**' 1093 1093 ], 1094 1094 tasks: ['qunit'] 1095 },1096 phpunit: {1097 files: [ '**/*.php' ],1098 tasks: [ 'phpunit:default' ]1099 1095 } 1100 1096 } 1101 1097 }); … … 1141 1137 grunt.task.run( 'build' ); 1142 1138 } 1143 1139 1140 if ( 'watch:phpunit' === grunt.cli.tasks[ 0 ] || 'undefined' !== typeof grunt.option( 'phpunit' ) ) { 1141 grunt.config.data._watch.phpunit = { 1142 files: [ '**/*.php' ], 1143 tasks: [ 'phpunit:default' ] 1144 }; 1145 } 1146 1144 1147 grunt.task.run( '_' + this.nameArgs ); 1145 1148 } ); 1146 1149