Changeset 10863
- Timestamp:
- 06/01/2016 10:33:42 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Gruntfile.js
r10841 r10863 6 6 7 7 BP_CSS = [ 8 '**/*.css', 9 '**/css-*.php' 8 '**/*.css' 10 9 ], 11 10 12 11 // CSS exclusions, for excluding files from certain tasks, e.g. rtlcss 13 12 BP_EXCLUDED_CSS = [ 14 '!**/*-rtl.css', 15 '!**/*-rtl.php' 13 '!**/*-rtl.css' 16 14 ], 17 15 … … 108 106 dest: SOURCE_DIR, 109 107 extDot: 'last', 110 src: BP_CSS.concat( BP_EXCLUDED_CSS, BP_EXCLUDED_MISC ), 111 rename: function ( dest, src ) { 112 if ( src.endsWith( '.php' ) ) { 113 return dest + src.replace( '.php', '-rtl.php' ); 114 } else { 115 return dest + src.replace( '.css', '-rtl.css' ); 116 } 117 } 108 ext: '-rtl.css', 109 src: BP_CSS.concat( BP_EXCLUDED_CSS, BP_EXCLUDED_MISC ) 118 110 } 119 111 },
Note: See TracChangeset
for help on using the changeset viewer.