oroc tooling swift
Export Swift compiler commands and prepare analysis modules.
Usage#
oroc tooling swift [options] [<project-dir>]
Options#
| Option | Description |
|---|---|
--platform=<name> |
desktop, mac, ios, ios-simulator, linux or win |
--arch=<name> |
target architecture |
--prod |
select release compiler flags |
--prepare |
emit the declared Swift module without linking or signing |
--refresh |
allocate a fresh editor generation |
--offline |
use installed toolchains and dependencies only |
--config=<path> |
use an explicit oro.toml or oro.ini |
-h, --help |
show help |
Notes#
Declare original sources and module settings under tooling.swift, or import an existing compilation database.
Apple targets require macOS and Xcode. External build systems own their dependency preparation.
Use language_server.swift.adapter="stdio" for native SwiftPM discovery.
See docs/LANGUAGE_SERVER.md for configuration and editor examples.
Source repository · Edit this page · View Markdown