Changeset 5293
- Timestamp:
- 02/20/2014 02:12:56 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r5290 r5293 232 232 'esc_html_e', 233 233 'esc_html_x', 234 '_n_noop', 234 235 '_nx_noop' 235 236 ] 236 237 }, 237 238 files: { 238 src: SOURCE_DIR + '**/*.php' , 239 src: SOURCE_DIR + '**/*.php', 240 expand: true 241 } 242 }, 243 checktextdomain: { 244 options: { 245 text_domain: 'bbpress', 246 correct_domain: false, 247 keywords: [ 248 '__:1,2d', 249 '_e:1,2d', 250 '_x:1,2c,3d', 251 '_n:1,2,4d', 252 '_ex:1,2c,3d', 253 '_nx:1,2,4c,5d', 254 'esc_attr__:1,2d', 255 'esc_attr_e:1,2d', 256 'esc_attr_x:1,2c,3d', 257 'esc_html__:1,2d', 258 'esc_html_e:1,2d', 259 'esc_html_x:1,2c,3d', 260 '_n_noop:1,2,3d', 261 '_nx_noop:1,2,3c,4d' 262 ] 263 }, 264 files: { 265 src: SOURCE_DIR + '**/*.php', 239 266 expand: true 240 267 } … … 290 317 // Build tasks. 291 318 grunt.registerTask( 'build', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build', 'pot' ] ); 292 grunt.registerTask( 'build-release', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build', ' pot', 'phpunit' ] );319 grunt.registerTask( 'build-release', [ 'clean:all', 'copy:files', 'cssjanus:core', 'cssmin:ltr', 'cssmin:rtl', 'colors', 'cssjanus:colors', 'cssmin:colors','uglify:core', 'jsvalidate:build', 'checktextdomain', 'pot', 'phpunit' ] ); 293 320 294 321 // Testing tasks. … … 301 328 }); 302 329 303 grunt.registerTask( ' test', 'Runs all unit tasks.', [ 'phpunit' ] );330 grunt.registerTask( 'jstest', 'Runs all javascript tasks.', [ 'jsvalidate', 'jshint' ] ); 304 331 305 332 // Default task. -
trunk/package.json
r5290 r5293 18 18 "grunt-jsvalidate": "~0.2.2", 19 19 "grunt-pot": "~0.1.2", 20 "grunt-checktextdomain": "~0.1.1", 20 21 "matchdep": "~0.3.0", 21 22 "grunt-exec": "~0.4.3"
Note: See TracChangeset
for help on using the changeset viewer.