From 2c81c1d705a8eba1d49be49f1c6b6da8afcc8d01 Mon Sep 17 00:00:00 2001 From: "Jaeyun,Oh" Date: Tue, 24 Sep 2019 14:03:09 +0900 Subject: [PATCH] Test --- Package.swift | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/Package.swift b/Package.swift index 4e3712af7..880668c02 100644 --- a/Package.swift +++ b/Package.swift @@ -1,9 +1,27 @@ // swift-tools-version:4.2 import PackageDescription -let package = Package( +let iOS_package = Package( name: "Material", - // platforms: [.iOS("8.0")], + platforms: [.iOS("8.0")], + products: [ + .library(name: "Material", targets: ["Material"]) + ], + dependencies: [ + .package(url: "https://github.com/CosmicMind/Motion.git", .upToNextMajor(from: "3.1.0")), + ], + targets: [ + .target( + name: "Material", + dependencies: ["Motion"], + path: "Sources" + ) + ] +) + +let mac_package = Package( + name: "Material", + platform: [.mac("10.10)"], products: [ .library(name: "Material", targets: ["Material"]) ],