Skip to content

feat: Add granular Apple build primitives#20

Merged
pepicrft merged 5 commits into
mainfrom
feat/apple-tuist-build
May 10, 2026
Merged

feat: Add granular Apple build primitives#20
pepicrft merged 5 commits into
mainfrom
feat/apple-tuist-build

Conversation

@pepicrft

@pepicrft pepicrft commented May 10, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds TOML-declared Apple Swift build primitives for apple.swift_library, apple.static_framework, apple.dynamic_framework, and apple.macos_command_line_application.

swift_library expands into separate cacheable compile and archive actions. Library compile actions depend on dependency module outputs, while executable and framework actions depend on dependency root outputs for linking.

The local graph now uses lower-level Fabrik declarations and project-root-relative target ids such as examples/apple/macos/cli/hello. Build-file deps stay local by default, so same-file deps can be written as Greeter, while ./ and ../ resolve relative to the declaring fabrik.toml.

This removes the old build-file compatibility path so fabrik.toml is the single scanned build-file surface, updates fabrik vendor to emit vendor/fabrik.toml, and drops the unused parser dependency.

The examples now live under examples/apple/macos/..., including a Tuist-shaped module graph that mimics a layered CLI build without importing Tuist-specific project structure. The previous large examples spec is split into Apple, Rust, and target-listing specs.

Validation

  • mise exec -- cargo test --workspace
  • mise exec -- cargo clippy --workspace --all-targets -- -D warnings
  • mise exec -- cargo fmt --all -- --check
  • mise exec -- cargo build --release
  • mise exec -- shellspec

@pepicrft pepicrft changed the title [codex] Add granular Apple Swift builds feat: Add granular Apple Swift builds May 10, 2026
@pepicrft pepicrft force-pushed the feat/apple-tuist-build branch from 1ada23c to d87047d Compare May 10, 2026 14:20
@pepicrft pepicrft changed the title feat: Add granular Apple Swift builds feat: Add granular Apple build primitives May 10, 2026
@pepicrft pepicrft marked this pull request as ready for review May 10, 2026 17:53
@pepicrft pepicrft merged commit e09a199 into main May 10, 2026
17 checks passed
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.

1 participant