emoji package

This commit is contained in:
Mike Renoir 2023-04-17 13:48:05 +03:00
parent 87c57b5abb
commit 79d819a76a
2 changed files with 32 additions and 0 deletions

View File

@ -0,0 +1,30 @@
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Emoji",
platforms: [.macOS(.v10_12)],
products: [
// Products define the executables and libraries a package produces, and make them visible to other packages.
.library(
name: "Emoji",
targets: ["Emoji"]),
],
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 this package depends on.
.target(
name: "Emoji",
dependencies: [
],
path: ".",
exclude: ["BUILD"]),
]
)

View File

@ -24,6 +24,7 @@ let package = Package(
.package(name: "Reachability", path: "../Reachability"), .package(name: "Reachability", path: "../Reachability"),
.package(name: "DarwinDirStat", path: "../Utils/DarwinDirStat"), .package(name: "DarwinDirStat", path: "../Utils/DarwinDirStat"),
.package(name: "EncryptionProvider", path: "../EncryptionProvider"), .package(name: "EncryptionProvider", path: "../EncryptionProvider"),
.package(name: "Emoji", path: "../Emoji"),
], ],
targets: [ targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite. // Targets are the basic building blocks of a package. A target can define a module or a test suite.
@ -38,6 +39,7 @@ let package = Package(
.product(name: "NetworkLogging", package: "NetworkLogging", condition: nil), .product(name: "NetworkLogging", package: "NetworkLogging", condition: nil),
.product(name: "DarwinDirStat", package: "DarwinDirStat", condition: nil), .product(name: "DarwinDirStat", package: "DarwinDirStat", condition: nil),
.product(name: "Reachability", package: "Reachability", condition: nil), .product(name: "Reachability", package: "Reachability", condition: nil),
.product(name: "Emoji", package: "Emoji", condition: nil),
.product(name: "EncryptionProvider", package: "EncryptionProvider", condition: nil)], .product(name: "EncryptionProvider", package: "EncryptionProvider", condition: nil)],
path: "Sources"), path: "Sources"),
] ]