Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom Mask for .git in CliRunner #172

Open
honzakral2 opened this issue Sep 3, 2024 · 0 comments
Open

Custom Mask for .git in CliRunner #172

honzakral2 opened this issue Sep 3, 2024 · 0 comments

Comments

@honzakral2
Copy link

Version: v3.5.2

Hi,
I’m having an issue with the ignoreMasks in CliRunner. The mask '.git*' ignores all .git files and directories, including those that start with git, such as gitlab-ci.yml.

Here’s the relevant code:
public array $ignoreMasks = ['*.bak', '.svn', '.git*', 'Thumbs.db', '.DS_Store', '.idea'];

I need to:

  • Ignore .git directories and files.
  • Ensure files like gitlab-ci.yml are not ignored.

I’m struggling to find the correct mask to achieve this. Is it possible to configure this using the ignore key or another method without listing files explicitly?

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant