Skip to content

Commit 8564a4f

Browse files
add swift package manager support
1 parent c8230ef commit 8564a4f

File tree

2 files changed

+36
-1
lines changed

2 files changed

+36
-1
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,7 @@ xcuserdata/
4242
/*.gcno
4343

4444
## Test output
45-
test_output
45+
test_output
46+
47+
#$ Swift Package Manager
48+
.build/

Package.swift

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
// swift-tools-version:5.1
2+
//
3+
// Package.swift
4+
// Visually
5+
//
6+
// Created by Tomasz Lewandowski on 22/01/2020.
7+
//
8+
import PackageDescription
9+
10+
let package = Package(
11+
name: "Visually",
12+
platforms: [
13+
.macOS(.v10_11),
14+
.iOS(.v8),
15+
.tvOS(.v9)
16+
],
17+
products: [
18+
.library(
19+
name: "Visually",
20+
targets: ["Visually"])
21+
],
22+
targets: [
23+
.target(
24+
name: "Visually",
25+
dependencies: [],
26+
path: "Visually"),
27+
.testTarget(
28+
name: "VisuallyTests",
29+
dependencies: ["Visually"],
30+
path: "VisuallyTests")
31+
]
32+
)

0 commit comments

Comments
 (0)