curist / grunt-bower

grunt task to copy bower installed packages to other folder(s)
MIT License
93 stars 27 forks source link

css_dest doesn't copy anything? #17

Closed framerate closed 10 years ago

framerate commented 10 years ago

This may just be confusion in the readme but:

bower: {
            dev: {
                'dest': 'lib/client/vendor',
                'js_dest': 'lib/client/vendor/js',
                'css_dest': 'lib/client/vendor/css',
                'options': {
                    'packageSpecific':
                    {
                        'bootstrap': {
                            'files': [
                                'dist/css/bootstrap.css'
                            ]
                        },
                        'font-awesome': {
                            'files': [
                                'css/font-awesome.css',
                                'fonts/fontawesome-webfont.eot',
                                'fonts/fontawesome-webfont.svg',
                                'fonts/fontawesome-webfont.ttf',
                                'fonts/fontawesome-webfont.woff'
                            ],
                            'dest': 'static/fonts/'
                        }
                    }
                }
            }
        },

if I remove the "packageSpecific" stuff for bootstrap, my lib/client/vendor/css will remain empty.

If this isn't a bug, please just advise what I'm doing wrong! This is with latest 0.8.X from npm.

curist commented 10 years ago

Much thanks for reporting this. Should be resolved now.

framerate commented 10 years ago

Seems to have fixed it! Thanks for the quick response!