From a311c76ac2217e0382342ed52d0212dcc37204e2 Mon Sep 17 00:00:00 2001 From: John Sundell Date: Sun, 5 Nov 2017 20:34:57 +0100 Subject: [PATCH] Use Swift 4 version of the Package Description API --- Package.swift | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/Package.swift b/Package.swift index 0e427de..6c6a1b8 100644 --- a/Package.swift +++ b/Package.swift @@ -1,5 +1,26 @@ +// swift-tools-version:4.0 + +/** + * Files + * Copyright (c) John Sundell 2017 + * Licensed under the MIT license. See LICENSE file. + */ + import PackageDescription let package = Package( - name: "Files" + name: "Files", + products: [ + .library(name: "Files", targets: ["Files"]) + ], + targets: [ + .target( + name: "Files", + path: "Sources" + ), + .testTarget( + name: "FilesTests", + dependencies: ["Files"] + ) + ] )