Skip to content

mkdirs not ignoring specified files #46

Open
@jahvi

Description

@jahvi

Not sure if I'm doing something wrong but the mkdirs command is just copying everything in my root directory to my publish and intermediate folders, I'm using the basic grunt config that gets generated with h5bp init:

// the staging directory used during the process
staging: 'intermediate',
// final build output
output = 'publish';
// filter any files matching one of the below pattern during mkdirs task
// the pattern in the .gitignore file should work too.
exclude: '.git* build/** node_modules/** grunt.js package.json *.md'.split(' '),
mkdirs: {
    staging: '<config:exclude>'
}

But the exclude option looks like it's getting ignored

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