Skip to content

feat: add xcodebuild support#393

Closed
rursache wants to merge 1 commit intortk-ai:masterfrom
rursache:feat/xcodebuild-support-376
Closed

feat: add xcodebuild support#393
rursache wants to merge 1 commit intortk-ai:masterfrom
rursache:feat/xcodebuild-support-376

Conversation

@rursache
Copy link
Copy Markdown
Contributor

@rursache rursache commented Mar 6, 2026

Summary

  • add a dedicated rtk xcodebuild command with mode-aware output handling for build-like, test, info, and fallback invocations
  • preserve high-value xcodebuild test context while stripping repetitive build noise, and keep -list / -showBuildSettings near-lossless
  • wire xcodebuild into CLI discovery, auto-rewrite hooks, docs, smoke coverage, and hook rewrite tests

Details

  • added [x] src/xcodebuild_cmd.rs with conservative filtering, raw fallback behavior, -v passthrough, and exit-code propagation
  • added fixture-driven and fake-binary test coverage for build success/failure, test success/failure, archive/export, and info output
  • registered xcodebuild in src/main.rs, src/discover/rules.rs, and src/discover/registry.rs
  • updated .claude/hooks/rtk-suggest.sh and hooks/test-rtk-rewrite.sh
  • updated README / INSTALL / ARCHITECTURE / CLAUDE docs and validation scripts

Verification

  • cargo test --quiet
  • bash hooks/test-rtk-rewrite.sh
  • bash scripts/validate-docs.sh
  • cargo run --quiet -- xcodebuild --help

Closes #376

@aeppling
Copy link
Copy Markdown
Contributor

aeppling commented Mar 6, 2026

This should be merged in develop branch following https://github.com/rtk-ai/rtk/blob/master/CONTRIBUTING.md and #380 announcement

@rursache
Copy link
Copy Markdown
Contributor Author

rursache commented Mar 6, 2026

Closing this in favor of #394, which follows the new contribution flow from discussion #380 and targets develop.

@rursache rursache closed this Mar 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature Request: Add support for xcodebuild and subcommands

2 participants