Created
March 10, 2020 09:50
-
-
Save lordcodes/2e2d78dbca2cfc8d2624d3a5701c8e85 to your computer and use it in GitHub Desktop.
Code for the article "Manage automation tasks using Swift Package Manager"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let package = Package( | |
name: "Uploader", | |
products: [ | |
.executable(name: "uploader-cli", targets: ["Uploader"]) | |
], | |
dependencies: [ | |
.package( | |
url: "https://github.com/realm/SwiftLint", | |
from: "0.39.1" | |
), | |
.package( | |
url: "https://github.com/nicklockwood/SwiftFormat", | |
from: "0.44.4" | |
), | |
.package( | |
url: "https://github.com/apple/swift-argument-parser", | |
from: "0.0.1" | |
) | |
], | |
targets: [ | |
.target( | |
name: "Uploader", | |
dependencies: ["Uploader", "ArgumentParser"] | |
) | |
] | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment