Skip to content

Support a .craignore file #5

@mauleb

Description

@mauleb

Description

At the moment, everything in the example-react-project is copied into the generated project without exception. It would be of benefit to be able to define a .craignore file within the example repo so that certain files/directories can be excluded. For example, it would be nice to have github templates / changelog / contributing files, but those are specific to the example project and would not be relevant to newly generated ones.

Implementation

  • update generator script to look for a .craignore file after cloning the example repo
  • loop through glob patterns and delete post clone
  • once complete, also delete the .craignore file from the generated project

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    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