Skip to content

Commit 3c37e0f

Browse files
add swift package manager support
1 parent c8230ef commit 3c37e0f

2 files changed

Lines changed: 37 additions & 1 deletion

File tree

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

0 commit comments

Comments
 (0)