Add Package.swift
This commit is contained in:
parent
2097758b9b
commit
6ef4d6dc42
|
@ -0,0 +1,23 @@
|
||||||
|
// swift-tools-version:5.0
|
||||||
|
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||||
|
|
||||||
|
import PackageDescription
|
||||||
|
|
||||||
|
let package = Package(
|
||||||
|
name: "ListDiffUI",
|
||||||
|
platforms: [
|
||||||
|
.iOS(.v8),
|
||||||
|
],
|
||||||
|
products: [
|
||||||
|
.library(name: "ListDiffUI", targets: ["ListDiffUI"]),
|
||||||
|
],
|
||||||
|
dependencies: [
|
||||||
|
.package(url: "https://github.com/lxcid/ListDiff.git", .revision("1390504170150f378aa1be17f92322e6d12533d8")),
|
||||||
|
],
|
||||||
|
targets: [
|
||||||
|
.target(
|
||||||
|
name: "ListDiffUI",
|
||||||
|
dependencies: ["ListDiff"],
|
||||||
|
path: "Sources/"),
|
||||||
|
]
|
||||||
|
)
|
|
@ -4,7 +4,7 @@ def listdiffui_dependencies(is_local = False):
|
||||||
new_git_repository(
|
new_git_repository(
|
||||||
name = "ListDiff",
|
name = "ListDiff",
|
||||||
remote = "https://github.com/lxcid/ListDiff.git",
|
remote = "https://github.com/lxcid/ListDiff.git",
|
||||||
commit = "2667f8da9df3978e45841fee11d2f00934612a7f",
|
commit = "1390504170150f378aa1be17f92322e6d12533d8",
|
||||||
shallow_since = "1538894026 +0800",
|
shallow_since = "1593244760 +0800",
|
||||||
build_file = "ListDiff.BUILD" if is_local else "@ListDiffUI//:external/ListDiff.BUILD",
|
build_file = "ListDiff.BUILD" if is_local else "@ListDiffUI//:external/ListDiff.BUILD",
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue