Skip to content

Add Swift command family#16

Merged
maniramezan merged 1 commit into
mainfrom
feat/swift-command-family
May 22, 2026
Merged

Add Swift command family#16
maniramezan merged 1 commit into
mainfrom
feat/swift-command-family

Conversation

@maniramezan
Copy link
Copy Markdown
Owner

Summary

  • Add a typed Swift command family for Swift toolchain and SwiftPM automation
  • Cover build, test, run, package, version, traits, package paths, compiler/linker flags, and raw arguments
  • Wire the Swift trait into Package.swift, CI matrices, README, DocC, AGENTS.md, and the shared SwiftyShell skill

Validation

  • swift build -c release --traits Swift -Xswiftc -warnings-as-errors
  • swift test --traits Swift -Xswiftc -warnings-as-errors
  • swift test -Xswiftc -warnings-as-errors
  • swift build -c release -Xswiftc -warnings-as-errors
  • swift build -c release --enable-all-traits -Xswiftc -warnings-as-errors
  • swift test --enable-all-traits -Xswiftc -warnings-as-errors
  • swift test --enable-all-traits --enable-code-coverage -Xswiftc -warnings-as-errors
  • swift -warnings-as-errors Scripts/validate-code-coverage.swift --input .build/arm64-apple-macosx/debug/codecov/SwiftyShell.json --minimum-line-coverage 84
  • swift -warnings-as-errors Scripts/validate-traits.swift
  • swift -warnings-as-errors Scripts/validate-docc-coverage.swift
  • swift package -Xswiftc -warnings-as-errors --allow-writing-to-directory docs generate-documentation --target SwiftyShell --output-path docs --transform-for-static-hosting --hosting-base-path SwiftyShell
  • swift-format lint --strict Package.swift Sources/SwiftyShell/Swift/Swift.swift Tests/SwiftyShellTests/Swift/SwiftTests.swift
  • git diff --check

@maniramezan maniramezan merged commit 347fc28 into main May 22, 2026
33 checks passed
@maniramezan maniramezan deleted the feat/swift-command-family branch May 22, 2026 01:30
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