mirror of
https://github.com/ichmagmaus111/ghostgram.git
synced 2026-11-04 14:47:17 +01:00
Ghostgram for iOS, rebuilt from scratch on Telegram iOS 13.0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
39 lines
1.3 KiB
Swift
39 lines
1.3 KiB
Swift
// 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: "PasscodeCore",
|
|
platforms: [.macOS(.v10_13)],
|
|
products: [
|
|
.library(
|
|
name: "PasscodeCore",
|
|
targets: ["PasscodeCore"]),
|
|
.library(
|
|
name: "PasscodeAccountManager",
|
|
targets: ["PasscodeAccountManager"]),
|
|
],
|
|
dependencies: [
|
|
.package(name: "SSignalKit", path: "../SSignalKit"),
|
|
.package(name: "TelegramCore", path: "../TelegramCore"),
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "PasscodeCore",
|
|
dependencies: [.product(name: "SwiftSignalKit", package: "SSignalKit", condition: nil)],
|
|
path: "Sources",
|
|
exclude: ["AccountManagerIntegration.swift"]),
|
|
.target(
|
|
name: "PasscodeAccountManager",
|
|
dependencies: ["PasscodeCore",
|
|
.product(name: "TelegramCore", package: "TelegramCore", condition: nil)],
|
|
path: "Sources",
|
|
sources: ["AccountManagerIntegration.swift"]),
|
|
.testTarget(
|
|
name: "PasscodeCoreTests",
|
|
dependencies: ["PasscodeCore"],
|
|
path: "Tests/PasscodeCoreTests"),
|
|
]
|
|
)
|