Skip to content
This repository was archived by the owner on Sep 21, 2022. It is now read-only.
This repository was archived by the owner on Sep 21, 2022. It is now read-only.

Support wildcard in "files" field #28

Description

@nalbion

I'm trying to use grunt-bower to copy the .less files from Bootstrap so that I can compile them along with my own .less files into a single .css file.

The example below works, but I don't want to have to list all of them. It would be good if the files field supported wildcards: "less/*.less" (these are not included in the "main" section of bootstrap's bower.json file).

Also, is it (could it be) possible to avoid copying a specific file type, eg: css_dest: false?

    bower: {
        dev: {
            dest: 'static',
            js_dest: 'js',
            css_dest: 'css',
            options: {
                packageSpecific: {
                    bootstrap: {
                        files: [
                            "less/alerts.less"
                        ],
                        dest: 'static/fonts',
                        css_dest: 'delete-me',
                        less_dest: 'less/common/bootstrap'
                    }
                }
            }
        }
    },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions