Skip to:
Content

BuddyPress.org

Ticket #7551: nouveau-gruntfile.patch

File nouveau-gruntfile.patch, 877 bytes (added by hnla, 8 years ago)

Merge & update with watch task & lint paths

  • Gruntfile.js

     
    228228                                },
    229229                                expand: true,
    230230                                cwd: SOURCE_DIR,
    231                                 src: [ 'bp-templates/bp-legacy/css/*.scss' ]
     231                                src: [
     232                                        'bp-templates/bp-legacy/css/*.scss',
     233                                        'bp-nouveau/sass/*.scss',
     234                                        'bp-nouveau/common-styles/*.scss'
     235                                ]
    232236                        }
    233237                },
    234238                cssmin: {
     
    241245                                src: BP_CSS
    242246                        }
    243247                },
     248                watch: {
     249                        config: {
     250                                files: 'Gruntfile.js',
     251                                tasks: 'jshint:grunt'
     252                        },
     253                        sass: {
     254                                files: [
     255                                        SOURCE_DIR + 'bp-templates/bp-nouveau/sass/*.scss',
     256                                        SOURCE_DIR + 'bp-templates/bp-nouveau/common-styles/*.scss',
     257                                        SOURCE_DIR + 'bp-templates/bp-nouveau/sass/*.scss'
     258                                        ],
     259                                tasks: 'sass'
     260                        }
     261                },
    244262                phpunit: {
    245263                        'default': {
    246264                                cmd: 'phpunit',