Files
EmojiKit/Package.swift
Niklas Amslgruber 6bbb3a1a71 Update README
2023-06-14 18:45:44 +02:00

37 lines
1.1 KiB
Swift

// swift-tools-version: 5.8
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "EmojiKit",
platforms: [.macOS(.v13), .iOS(.v16)],
products: [
.executable(
name: "EmojiKit",
targets: ["EmojiKit"]
),
.library(
name: "EmojiKitLibrary",
targets: ["EmojiKitLibrary"]
)
],
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.0.0"),
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.6.0"),
],
targets: [
.executableTarget(
name: "EmojiKit",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "SwiftSoup", package: "SwiftSoup"),
.target(name: "EmojiKitLibrary")
]),
.target(
name: "EmojiKitLibrary", resources: [
.process("Resources")
])
]
)