spm¶
Runs Swift Package Manager on your project
spm | |
---|---|
Supported platforms | ios, android, mac |
Author | @Flávio Caetano (@fjcaetano) |
2 Examples¶
spm
spm(
command: "build",
build_path: "./build",
configuration: "release"
)
Parameters¶
Key | Description | Default |
---|---|---|
command |
The swift command (one of: build, test, clean, reset, update) | build |
build_path |
Specify build/cache directory [default: ./.build] | |
package_path |
Change working directory before any other operation | |
configuration |
Build with configuration (debug|release) [default: debug] | |
xcpretty_output |
Specifies the output type for xcpretty. eg. 'test', or 'simple' | |
verbose |
Increase verbosity of informational output | false |
* = default value is dependent on the user's system
To show the documentation in your terminal, run
fastlane action spm