mirror of
https://github.com/fxm90/GradientLoadingBar.git
synced 2026-06-16 12:24:31 +00:00
Note: Currently running `swift test` will fail, due to "XCTUnwrap not available during `swift test`". This is a known bug and there is already an ongoing discussion here: https://forums.swift.org/t/xctunwrap-not-available-during-swift-test/28878
23 lines
1.0 KiB
Swift
23 lines
1.0 KiB
Swift
// swift-tools-version:5.0
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(name: "GradientLoadingBar",
|
|
platforms: [.iOS(.v9)],
|
|
products: [
|
|
.library(name: "GradientLoadingBar",
|
|
targets: ["GradientLoadingBar"])
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/fxm90/LightweightObservable",
|
|
.upToNextMajor(from: "2.0.0"))
|
|
],
|
|
targets: [
|
|
.target(name: "GradientLoadingBar",
|
|
dependencies: ["LightweightObservable"],
|
|
path: "GradientLoadingBar/Classes"),
|
|
.testTarget(name: "GradientLoadingBarTests",
|
|
dependencies: ["GradientLoadingBar"],
|
|
path: "Example/Tests/")
|
|
])
|