Initial Version (work in progress)

This commit is contained in:
Salar Rahmanian 2024-10-05 13:10:39 -07:00
parent 93069902ad
commit 9dd3399d5c
11 changed files with 544 additions and 57 deletions

33
Package.swift Normal file
View file

@ -0,0 +1,33 @@
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Fishee",
dependencies: [
.package(url: "https://github.com/apple/swift-argument-parser.git", .upToNextMajor(from: "1.5.0")),
.package(url: "https://github.com/duckdb/duckdb-swift", .upToNextMinor(from: .init(1, 1, 0))),
],
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: "Fishee",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "DuckDB", package: "duckdb-swift"),
],
path: "Sources"
),
.testTarget(
name: "FisheeTests",
dependencies: ["Fishee"],
path: "Tests",
resources: [
.copy("Resources/fish_history_test.txt"),
.copy("Resources/fish_history_test_2.txt"),
]
)
]
)