Skip to content

Allow to include or exclude files from the build in .kopytkorc #46

Description

@bchelkowski

This is a Feature Proposal

Description

Allow to include or exclude files from the build.
Define it globally or for the environment.

It should work on the stage of copying files, we want to avoid copying and deleting the same files.

.kopytkorc example usage:

{
  ​​​​​​​​...
  "files": ["!/components/**/_tests/**"],
  "environments": {​​​​​​​​​​​​​​​
    "production": {​​​​​​​​​​​​​​​
      "files": [
        "!/components/**/TrackerTask.xml",
        "!/images/**/some_test_icon.png"
      ],
    }​​​​​​​​​​​​​​​,
    "test": {​​​​​​​​​​​​​​​
      "files": ["/components/**/_tests/**"]
    }​​​​​​​​​​​​​​​
  }
​​​​​​​​​​​​​​​}

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions