yonaskolb / yonaskolb/XcodeGen

Group ordering

Open
#987 1 comment 0 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

How to use pattern parameter in groupOrder? I tried few things and can't get it work on sub folders.

I have this structure:
Project/API
Project/Assets
Project/Features
Project/Features/Something
Project/Features/Something/Controllers
Project/Features/Something/Cells
Project/Features/Something/Views
Project/Features/Something/Services
Project/Features/Another thing/...
Project/Extensions

I want to set pattern for feature, i tried something like "'^.*Feature/$', thanks.

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

The issue identifies groupOrder and a pattern intended for feature folders; start by reading the groupOrder documentation and locating the pattern-matching entry point in XcodeGen. Reproduce the folder structure shown with a minimal project, verify the accepted pattern syntax and nested-folder behavior, and confirm the generated group ordering.

Written by the indexing model from the issue text.

Assessment

Tech stack
swift
Domain
build-system, cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.