-
-
Notifications
You must be signed in to change notification settings - Fork 309
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Oleksandr Zarochintsev
committed
Jan 28, 2020
1 parent
5d9f391
commit 7cbf7f1
Showing
1 changed file
with
22 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
// | ||
// Package.swift | ||
// Floaty | ||
// | ||
// Created by Oleksandr Zarochintsev on 28.01.2020. | ||
// Copyright © 2019 Oleksandr Zarochintsev. All rights reserved. | ||
// | ||
// swift-tools-version:5.1 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
import PackageDescription | ||
|
||
let package = Package(name: "Floaty", | ||
platforms: [.iOS(.v10)], | ||
products: [.library(name: "Floaty", targets: ["Floaty"])], | ||
targets: [.target(name: "Floaty", path: "Sources")], swiftLanguageVersions: [.v5]) | ||
let package = Package( | ||
name: "Floaty", | ||
products: [ | ||
// Products define the executables and libraries produced by a package, and make them visible to other packages. | ||
.library( | ||
name: "Floaty", | ||
targets: ["Floaty"]), | ||
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
// .package(url: /* package url */, from: "1.0.0"), | ||
], | ||
targets: [ | ||
// Targets are the basic building blocks of a package. A target can define a module or a test suite. | ||
// Targets can depend on other targets in this package, and on products in packages which this package depends on. | ||
.target( | ||
name: "Floaty", | ||
path: "Sources"), | ||
] | ||
) |