How alexey1312/laner works
Laner is a Swift-native CI/CD CLI for Apple-platform projects. The principal workflow is to load a Swift Lanerfile, select and execute a lane’s typed actions, and produce build artifacts or a TestFlight distribution; users can also invoke build, test, code-signing, and device-registration commands directly. The graph preserves these documented capabilities and the supporting execution, Xcode, signing, and upload layers. Several links rely on README documentation or SOURCE INDEX references because command and action implementations were not sampled.
Main entry points: Commands CLI commands · MatchService.swift Signing service · TestFlightService.swift TestFlight upload · Functions.swift Typed actions
Components 32
CLI workflows
- CLI entry
Sources/laner/main.swift - CLI commands
Sources/LanerCore/Commands - Manifest loader
Sources/LanerCore/Manifest/ManifestLoader.swift - Lane command
Sources/LanerCore/Commands/LaneCommand.swift - Build command
Sources/LanerCore/Commands/BuildCommand.swift - Test command
Sources/LanerCore/Commands/TestCommand.swift - Match command
Sources/LanerCore/Commands/MatchCommand.swift - Upload command
Sources/LanerCore/Commands/UploadCommand.swift
Lane DSL
- Lanerfile DSL
Sources/LanerDSL/Manifest/Lanerfile.swift - Lane runner
Sources/LanerDSL/Lane.swift - Action dispatcher
Sources/LanerDSL/ActionDispatcher.swift - Typed actions
Sources/LanerDSL/Actions/Functions.swift - Action protocol
Sources/LanerDSL/Action.swift - Execution context
Sources/LanerDSL/ExecutionContext.swift - CI environment
Sources/LanerDSL/Environment.swift - Build artifacts
Sources/LanerDSL/Artifact.swift
Execution tools
- Xcode operations
Sources/LanerKit/Xcodebuild/XcodebuildExecutor.swift - Shell executor
Sources/LanerKit/ShellExecutor.swift - Platform detection
Sources/LanerKit/Platform.swift - Structured logging
Sources/LanerKit/Logging/LoggingConfiguration.swift
Signing and distribution
- Signing service
Sources/LanerMatch/Services/MatchService.swift - Git signing storage
Sources/LanerMatch/Storage/GitStorage.swift - Certificate crypto
Sources/LanerMatch/Services/CryptoService.swift - Keychain install
Sources/LanerMatch/Services/KeychainService.swift - App Store Connect API
Sources/LanerMatch/API/AppStoreConnectAPI.swift - TestFlight upload
Sources/LanerMatch/Services/TestFlightService.swift - Chunked uploader
Sources/LanerMatch/Services/ChunkedUploader.swift
Other components
- Developer
- Apple services
- Git remote
- Xcode build tools
- Beta testers
Connections 34
- Developer → CLI entry: runs
Sources/laner/main.swift - CLI entry → CLI commands: dispatches
Sources/laner/main.swift - CLI commands → Manifest loader: loads lanes
Sources/LanerCore/Manifest/ManifestLoader.swift - CLI commands → Build command: builds directly
- CLI commands → Test command: tests directly
- CLI commands → Match command: manages signing
Sources/LanerCore/Commands/MatchCommand.swift - CLI commands → Upload command: uploads builds
- Lane command → Manifest loader: loads manifest
- Manifest loader → Lanerfile DSL: compiles manifest
Sources/LanerCore/Manifest/ManifestLoader.swift - Lane command → Lane runner: runs selected lane
- Lane runner → Action dispatcher: dispatches actions
Sources/LanerDSL/Lane.swift - Action dispatcher → Typed actions: creates actions
Sources/LanerDSL/ActionDispatcher.swift - Typed actions → Action protocol: implements
- Lane runner → Execution context: provides context
Sources/LanerDSL/Lane.swift - Execution context → CI environment: holds environment
Sources/LanerDSL/ExecutionContext.swift - Execution context → Build artifacts: collects artifacts
Sources/LanerDSL/ExecutionContext.swift - Typed actions → Xcode operations: builds and tests
- Execution context → Shell executor: provides executor
Sources/LanerDSL/ExecutionContext.swift - Xcode operations → Shell executor: runs commands
Sources/LanerKit/Xcodebuild/XcodebuildExecutor.swift - Xcode operations → Xcode build tools: invokes
README.md - CI environment → Platform detection: detects CI
- Match command → Signing service: runs sync
Sources/LanerCore/Commands/MatchCommand.swift - Signing service → Git signing storage: reads and writes
Sources/LanerMatch/Services/MatchService.swift - Signing service → Certificate crypto: encrypts certificates
Sources/LanerMatch/Services/MatchService.swift - Signing service → Keychain install: installs credentials
Sources/LanerMatch/Services/MatchService.swift - Signing service → App Store Connect API: manages certificates
Sources/LanerMatch/Services/MatchService.swift - Git signing storage → Git remote: clones and pushes
Sources/LanerMatch/Storage/GitStorage.swift - App Store Connect API → Apple services: sends API requests
Sources/LanerMatch/API/AppStoreConnectAPI.swift - Upload command → TestFlight upload: starts upload
- Typed actions → TestFlight upload: uploads via pilot
- TestFlight upload → App Store Connect API: creates build upload
Sources/LanerMatch/Services/TestFlightService.swift - TestFlight upload → Chunked uploader: uploads chunks
Sources/LanerMatch/Services/TestFlightService.swift - Chunked uploader → Apple services: transfers IPA
- TestFlight upload → Beta testers: distributes build
README.md