yonaskolb / yonaskolb/XcodeGen
Expose a command that allows users to print out target dependency graph without generating project
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 8.8k
- Forks
- 908
- Avg merge
- 17d 14h
- Merged PRs (30d)
- 2
Description
I am curious what are your thoughts on that and how feasible it is with the way that XcodeGen is implemented.
I'd like to build some light-weight script-based tooling that would help me analyze some assumptions on our dependency graph. It is somewhat possible with reading .yml/.json files and walking the graph, but there are nuances that make it difficult (like targets that can use templates that I'd have to unwind myself and duplicate the already existing logic).
Would it be feasible to have a command that takes a project but instead of passing it to generate(), it would JSONify it and print it out?
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 with the command entry point and the existing generate() flow; the issue names no files or tests. Determine how .yml/.json input and templates are resolved, then define a command that prints the resolved target dependency graph as JSON without generating the project.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100