Swiftpack.co - 417-72KI/DangerSwiftPlugin as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by 417-72KI.
417-72KI/DangerSwiftPlugin 0.3.0
Plugin for Danger-Swift
⭐️ 0
🕓 1 year ago
.package(url: "https://github.com/417-72KI/DangerSwiftPlugin.git", from: "0.3.0")

DangerSwiftPlugin

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

Usage

Marathon(Recommended)

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

Swift Package Manager

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

GitHub

link
Stars: 0
Last commit: 1 year ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Dependencies

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics