Skip to:
Content

BuddyPress.org

Changeset 11998


Ignore:
Timestamp:
04/27/2018 02:04:30 PM (9 years ago)
Author:
djpaul
Message:

Build: update SASS tasks to compile files in bp-core/admin/.

See #7741

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r11978 r11998  
    9090                                indentWidth: '1'
    9191                        },
    92                         styles: {
     92                        legacy: {
    9393                                cwd: SOURCE_DIR,
    9494                                extDot: 'last',
    … …  
    107107                                src: ['bp-templates/bp-nouveau/sass/buddypress.scss'],
    108108                                dest: SOURCE_DIR + 'bp-templates/bp-nouveau/css/'
     109                        },
     110                        admin: {
     111                                cwd: SOURCE_DIR,
     112                                extDot: 'last',
     113                                expand: true,
     114                                ext: '.css',
     115                                flatten: true,
     116                                src: ['bp-core/admin/sass/*.scss'],
     117                                dest: SOURCE_DIR + 'bp-core/admin/css/'
    109118                        }
    110119                },
    … …  
    228237                                expand: true,
    229238                                cwd: SOURCE_DIR,
    230                                 src: [ 'bp-templates/bp-legacy/css/*.scss' ]
     239                                src: [ '**/*.scss' ]
    231240                        }
    232241                },
Note: See TracChangeset for help on using the changeset viewer.