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

Allow ignoring files or directories #28

Open
mrkldshv opened this issue Apr 13, 2023 · 2 comments
Open

Allow ignoring files or directories #28

mrkldshv opened this issue Apr 13, 2023 · 2 comments

Comments

@mrkldshv
Copy link
Collaborator

mrkldshv commented Apr 13, 2023

It'd be quite convenient to ignore some files or directories when running scripts. We can add --ingore option to the CLI root and run commands. This option should be implemented using glob patterns. When choosing scope to run script on we should also take into account value of --filter option.

Examples:

  • lazyrepo build --ignore=packages/ui/**/*
  • lazyrepo run build --ignore=packages/**/* --ignore=apps/**/*
@judicaelandria
Copy link
Contributor

how about putting a file or directory to ignore inside the config file? of course we can have this one option too but I find that having that in config too might be a good idea

@ds300
Copy link
Owner

ds300 commented Apr 21, 2023

Added a config file option for this in #68, a cli option would be great too!

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

3 participants