Run CLIs written in Swift using Mint. For more information about Archery itself head to vknabel/Archery.
{
"name": "SupercoolProject",
"version": "1.0.0",
"scripts": {
"lint": {
"arrow": "vknabel/MintArrow",
"package": "Realm/Swiftlint",
"verbose": true,
"arguments": ["lint", "--path", "Sources"]
}
}
}
If there is no Archery arrow implementation for a Swift tool, you can wrap it using Mint Arrow. Mint and Arrow will handle your dependencies.
$ archery lint
Linting Swift files at path Sources
Linting 'main.swift' (1/1)
Done linting! Found 0 violations, 0 serious in 1 file.
Name | Type | Default |
---|---|---|
package | String |
Required |
executableName | String? |
Repository name |
arguments | [String]? |
[] , arguments passed to the tool |
verbose | Bool? |
false |
packageVersion | String? |
master |
cachePath | String? |
./.archery/mint |
- Valentin Knabel, @vknabel, dev@vknabel.com, @vknabel on Twitter