yonaskolb / yonaskolb/XcodeGen

Expose a command that allows users to print out target dependency graph without generating project

Open
#646 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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.