migrate to .env for tokens and implement chats
This commit is contained in:
@@ -2,22 +2,35 @@
|
||||
// The swift-tools-version declares the minimum version of Swift required to build this package.
|
||||
|
||||
import PackageDescription
|
||||
import CompilerPluginSupport
|
||||
|
||||
let package = Package(
|
||||
name: "nahi",
|
||||
name: "Nahi",
|
||||
platforms: [.macOS(.v13)],
|
||||
dependencies: [
|
||||
.package(url: "https://github.com/DiscordBM/DiscordBM.git", from: "1.13.2"),
|
||||
.package(url: "https://github.com/guitaripod/GeminiKit", from: "1.0.0")
|
||||
.package(url: "https://github.com/guitaripod/GeminiKit", from: "1.0.0"),
|
||||
.package(url: "https://github.com/swiftpackages/DotEnv.git", from: "3.0.0"),
|
||||
.package(url: "https://github.com/apple/swift-syntax", from: "601.0.1")
|
||||
],
|
||||
targets: [
|
||||
// Targets are the basic building blocks of a package, defining a module or a test suite.
|
||||
// Targets can depend on other targets in this package and products from dependencies.
|
||||
.executableTarget(
|
||||
name: "nahi",
|
||||
name: "Nahi",
|
||||
dependencies: [
|
||||
.product(name: "DiscordBM", package: "DiscordBM"),
|
||||
.product(name: "GeminiKit", package: "GeminiKit")
|
||||
]
|
||||
.product(name: "GeminiKit", package: "GeminiKit"),
|
||||
.product(name: "DotEnv", package: "DotEnv"),
|
||||
"NahiMacros"
|
||||
],
|
||||
),
|
||||
.macro(
|
||||
name: "NahiMacros",
|
||||
dependencies: [
|
||||
.product(name: "SwiftSyntaxMacros", package: "swift-syntax"),
|
||||
.product(name: "SwiftCompilerPlugin", package: "swift-syntax")
|
||||
]
|
||||
)
|
||||
]
|
||||
)
|
||||
|
Reference in New Issue
Block a user