Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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"
]
),
...
]
```