项目作者: 417-72KI

项目描述 :
Plugin for Danger-Swift
高级语言: Swift
项目地址: git://github.com/417-72KI/DangerSwiftPlugin.git
创建时间: 2020-02-13T07:27:49Z
项目社区:https://github.com/417-72KI/DangerSwiftPlugin

开源协议:MIT License

下载


DangerSwiftPlugin

Makes easier to call child DSLs (e.g. git, github)

Usage

  • Dangerfile.swift
    1. import DangerSwiftPlugin // package: https://github.com/417-72KI/DangerSwiftPlugin.git

Swift Package Manager

  • Package.swift
    1. products: [
    2. ...
    3. .library(name: "DangerDeps[Product name (optional)]", type: .dynamic, targets: ["DangerDependencies"]),
    4. ...
    5. ],
    6. dependencies: [
    7. ...
    8. .package(url: "https://github.com/danger/swift.git", from: "3.14.0"),
    9. .package(url: "https://github.com/417-72KI/DangerSwiftPlugin.git", from: "0.3.0")
    10. ...
    11. ],
    12. targets: [
    13. .target(
    14. name: "DangerDependencies",
    15. dependencies: [
    16. .product(name: "Danger", package: "danger-swift"),
    17. "DangerSwiftPlugin"
    18. ]
    19. ),
    20. ...
    21. ]