Skip to content
This repository was archived by the owner on Jan 7, 2025. It is now read-only.
This repository was archived by the owner on Jan 7, 2025. It is now read-only.

copy subtask to support multiple destinations #118

@maxwellpeterson-wf

Description

@maxwellpeterson-wf

@travissanderson-wf requested support to copy to multiple destinations:

gulp.task('dartLib', wGulp.getDeps('dartLib'), wGulp.copy({
    changed: true,
    src: ['src/wTransport.dart', 'dist/wTransportGlobal.bundle.js'],
    dest: ['lib/', 'examples/dart/web/']
}));

First thoughts on implementation:
I think gulp recently released support for this with a syntax like so:

gulp.src('file.ext')
    .dest('locationA')
    .dest('locationB')

If that is indeed the case, the copy subtask should be able to apply .dest() chains in a loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions