build_spm_package
Builds a Swift Package Manager package using swift build instead of Xcode. Offers options for target, build configuration, and package path.
Instructions
Builds a Swift Package Manager package directly using 'swift build' instead of Xcode.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | No | Specific target to build. If not provided, builds all targets. | |
| verbose | No | Whether to show verbose output (default: false) | |
| packagePath | No | Optional path to the directory containing Package.swift. If not provided, uses the active project directory. | |
| configuration | No | Build configuration to use (default: debug) |