Skip to content

Cache glob #2

@blond

Description

@blond

If we build several artifacts with similar patterns, scan will be repeat for each patterns.

const tartifacts = require('tartifacts');

tartifacts([
    {
        dest: 'artifact-1',
        includes: 'sources/**'  // first scan
    },
    {
        dest: 'artifact-2',
        includes: ['sources/**', 'exlib/**']  // second scan of 'sources/**' pattern
    }
]);

We can cache results of first scan and share them to second artifact.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions