Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/417-72ki/dangerswiftplugin
Plugin for Danger-Swift
https://github.com/417-72ki/dangerswiftplugin
danger-plugin danger-swift swift
Last synced: about 2 months ago
JSON representation
Plugin for Danger-Swift
- Host: GitHub
- URL: https://github.com/417-72ki/dangerswiftplugin
- Owner: 417-72KI
- License: mit
- Created: 2020-02-13T07:27:49.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-15T13:22:24.000Z (over 2 years ago)
- Last Synced: 2024-10-25T12:47:51.805Z (3 months ago)
- Topics: danger-plugin, danger-swift, swift
- Language: Swift
- Homepage:
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DangerSwiftPlugin
Makes easier to call child DSLs (e.g. `git`, `github`)
## Usage
### Marathon(Recommended)
- Dangerfile.swift
```swift:Dangerfile.swift
import DangerSwiftPlugin // package: https://github.com/417-72KI/DangerSwiftPlugin.git
```### Swift Package Manager
- Package.swift
```swift:Package.swift
products: [
...
.library(name: "DangerDeps[Product name (optional)]", type: .dynamic, targets: ["DangerDependencies"]),
...
],
dependencies: [
...
.package(url: "https://github.com/danger/swift.git", from: "3.14.0"),
.package(url: "https://github.com/417-72KI/DangerSwiftPlugin.git", from: "0.3.0")
...
],
targets: [
.target(
name: "DangerDependencies",
dependencies: [
.product(name: "Danger", package: "danger-swift"),
"DangerSwiftPlugin"
]
),
...
]
```