Skip to:
Content

BuddyPress.org

Changeset 11690


Ignore:
Timestamp:
09/08/2017 10:04:56 AM (8 years ago)
Author:
netweb
Message:

Build Tools: Update Grunt tasks for Nouveau.

This change is a follow up to [11686] and updates the Grunt stylelint and sass tasks to support the new Nouveau template pack.

See #7551.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Gruntfile.js

    r11587 r11690  
    2424        // SASS generated "Twenty*"" CSS files
    2525        BP_SCSS_CSS_FILES = [
    26             '!bp-templates/bp-legacy/css/twenty*.css'
     26            '!bp-templates/bp-legacy/css/twenty*.css',
     27            '!bp-templates/bp-nouveau/css/buddypress.css'
    2728        ],
    2829
     
    8586        },
    8687        sass: {
     88            options: {
     89                outputStyle: 'expanded',
     90                indentType: 'tab',
     91                indentWidth: '1'
     92            },
    8793            styles: {
    8894                cwd: SOURCE_DIR,
     
    9298                flatten: true,
    9399                src: ['bp-templates/bp-legacy/css/*.scss'],
    94                 dest: SOURCE_DIR + 'bp-templates/bp-legacy/css/',
    95                 options: {
    96                     outputStyle: 'expanded',
    97                     indentType: 'tab',
    98                     indentWidth: '1'
    99                 }
     100                dest: SOURCE_DIR + 'bp-templates/bp-legacy/css/'
     101            },
     102            nouveau: {
     103                cwd: SOURCE_DIR,
     104                extDot: 'last',
     105                expand: true,
     106                ext: '.css',
     107                flatten: true,
     108                src: ['bp-templates/bp-nouveau/sass/buddypress.scss'],
     109                dest: SOURCE_DIR + 'bp-templates/bp-nouveau/css/'
    100110            }
    101111        },
Note: See TracChangeset for help on using the changeset viewer.