Skip to content

Commit d9c3c91

Browse files
committed
Get it working without images
1 parent 7251106 commit d9c3c91

File tree

4 files changed

+35
-42
lines changed

4 files changed

+35
-42
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,4 @@ Pods
3131

3232
# Carthage
3333
Carthage
34+
/.build

Package.resolved

Lines changed: 16 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 18 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,30 @@
11
// swift-tools-version:4.0
22
// The swift-tools-version declares the minimum version of Swift required to build this package.
3+
34
import PackageDescription
45

5-
var package = Package(
6+
let package = Package(
67
name: "Cache",
78
products: [
8-
.library(
9-
name: "Cache",
10-
targets: ["Cache"]
11-
)
9+
// Products define the executables and libraries produced by a package, and make them visible to other packages.
10+
.library(
11+
name: "Cache",
12+
targets: ["Cache"]),
1213
],
1314
dependencies: [
14-
.package(url: "https://github.com/onmyway133/SwiftHash.git", .upToNextMinor(from: "2.0.0")),
15+
// Dependencies declare other packages that this package depends on.
16+
.package(url: "https://github.com/onmyway133/SwiftHash.git", .upToNextMinor(from: "2.0.0")),
1517
],
1618
targets: [
17-
.target(
18-
name: "Cache",
19-
dependencies: ["Cache"]
20-
)
19+
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
20+
// Targets can depend on other targets in this package, and on products in packages which this package depends on.
21+
.target(
22+
name: "Cache",
23+
dependencies: ["SwiftHash"],
24+
path: "Source/Shared"),
25+
.testTarget(
26+
name: "CacheTests",
27+
dependencies: ["Cache"],
28+
path: "Tests"),
2129
]
2230
)

Source/Shared/Library/ImageWrapper.swift

Lines changed: 0 additions & 32 deletions
This file was deleted.

0 commit comments

Comments
 (0)