Allow to exclude folders
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 886
- Forks
- 102
- Avg merge
- 6h 36m
- Merged PRs (30d)
- 2
Description
We have a project, MyApp, with some internal packages, to which we split some app features. Features folder lays on the same level as other folders, like Services, etc.
MyApp
- Services
- Features
- Shopping
- ProtocolA
- Shopping
- Repositories
For the mockolo command I just provide whole path of parent folder, like MyApp, which includes both Services and Features. From what I see it's only allowed to exclude some specific files, (or filenames by suffixes). It would be really handy if we could exclude whole folder from the sources, lets say I provide MyApp as sources dir, but excluding dir would be MyApp/Features. And in general the idea is that every feature package will expose its own FeatureMocks package, so we need to skip generating them when running for whole mockolo target.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the mockolo CLI option parsing and the existing file or filename-suffix exclusion handling. Add support for excluding a directory such as MyApp/Features while retaining current file exclusions, and verify that excluded folders are not processed for mock generation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100