Adds Package.swift

This commit is contained in:
Artyom Rudakov
2020-01-14 19:26:36 +02:00
parent 56eda13f47
commit 9ab3a6987a
3 changed files with 50 additions and 0 deletions
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:">
</FileRef>
</Workspace>
+16
View File
@@ -0,0 +1,16 @@
{
"object": {
"pins": [
{
"package": "LightweightObservable",
"repositoryURL": "https://github.com/fxm90/LightweightObservable",
"state": {
"branch": null,
"revision": "b689038f3dcb2564d2bc6c4f710765776d5b9356",
"version": "2.0.0"
}
}
]
},
"version": 1
}
+27
View File
@@ -0,0 +1,27 @@
// 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"
)
]
)