-
-
Save sturdysturge/87ec1d3c170ae51b782ea05c2c596e96 to your computer and use it in GitHub Desktop.
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
| import PackageDescription | |
| let package = Package( | |
| name: "hello", | |
| platforms: [ | |
| .macOS(.v10_15) | |
| ], | |
| dependencies: [ | |
| .package(url: "https://github.com/johnsundell/plot.git", from: "0.9.0"), | |
| .package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"), | |
| ], | |
| targets: [ | |
| .target( | |
| name: "App", | |
| dependencies: [ | |
| .product(name: "Plot", package: "plot"), | |
| .product(name: "Vapor", package: "vapor") | |
| ], | |
| swiftSettings: [ | |
| .unsafeFlags(["-cross-module-optimization"], .when(configuration: .release)) | |
| ] | |
| ), | |
| .executableTarget(name: "Run", dependencies: [.target(name: "App")]), | |
| .testTarget(name: "AppTests", dependencies: [ | |
| .target(name: "App"), | |
| .product(name: "XCTVapor", package: "vapor"), | |
| ]) | |
| ] | |
| ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment