Changeset 26145
- Timestamp:
- 11/13/2013 11:37:30 PM (11 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r26143 r26145 79 79 sass: { 80 80 colors: { 81 options: { 82 style: 'expanded', 83 sourcemap: true, 84 noCache: true 85 }, 86 files : [{ 87 expand: true, 88 cwd: SOURCE_DIR, 89 dest: BUILD_DIR, 90 ext: '.css', 91 src: ['wp-admin/css/color-schemes/*/colors.scss'] 92 }] 81 expand: true, 82 cwd: SOURCE_DIR, 83 dest: BUILD_DIR, 84 ext: '.css', 85 src: ['wp-admin/css/color-schemes/*/colors.scss'], 86 options: { 87 outputStyle: 'expanded' 88 } 93 89 } 94 90 }, … … 329 325 } 330 326 }, 327 colors: { 328 files: [SOURCE_DIR + 'wp-admin/css/color-schemes/**'], 329 tasks: ['sass:colors'] 330 }, 331 331 rtl: { 332 332 files: [ … … 343 343 files: ['tests/qunit/**'], 344 344 tasks: ['qunit'] 345 },346 colors: {347 files: [SOURCE_DIR + 'wp-admin/css/color-schemes/**'],348 tasks: ['sass:colors']349 345 } 350 346 } … … 359 355 grunt.registerTask('rtl', ['cssjanus:core']); 360 356 361 grunt.registerTask('colors', ['sass:colors', 'cssmin:colors']); 357 // Color schemes task. 358 grunt.registerTask('colors', ['sass:colors']); 362 359 363 360 // Build task. 364 grunt.registerTask('build', ['clean:all', 'copy:all', ' rtl', 'cssmin:core', 'cssmin:rtl',361 grunt.registerTask('build', ['clean:all', 'copy:all', 'cssmin:core', 'colors', 'cssmin:colors', 'rtl', 'cssmin:rtl', 365 362 'uglify:core', 'uglify:tinymce', 'concat:tinymce', 'compress:tinymce', 'clean:tinymce']); 366 363 -
trunk/package.json
r26143 r26145 21 21 "grunt-contrib-jshint": "~0.7.0", 22 22 "grunt-cssjanus": "~0.1.0", 23 "grunt-sass": "~0.8.0", 23 24 "matchdep": "~0.1.2" 24 25 }
Note: See TracChangeset
for help on using the changeset viewer.