yonaskolb / yonaskolb/XcodeGen

Support for glob patterns in fileGroups

Open
#676 0 comments 7 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Swift
Stars
8.8k
Forks
908
Avg merge
17d 14h
Merged PRs (30d)
2

Description

fileGroups is a [String] set on the project level, according to the spec. In my experience using it, I frequently want to add all of a certain type of file using this feature, which isn't easy to do by specifying all paths. The recent example I have is: any .jpg files within MyProjectTests/ are likely snapshot test output, and I want to include all of those via fileGroups. Another example is you might want to add any README.md files located anywhere in a large project via fileGroups. I think it would be a useful feature to support glob patterns within fileGroups.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating how project-level fileGroups are parsed and applied. Define the supported glob behavior using the examples in the issue, including matching .jpg files under a directory and README.md files anywhere in the project; done means those files are included without enumerating every path.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.