carlos / todomvc-bakeoff Public

Clone
git clone https://amadan.net/carlos/todomvc-bakeoff

Plain git — no account needed to clone.

Download

Download this file

1// swift-tools-version:6.1
2import PackageDescription
3
4let package = Package(
5 name: "todo-swift",
6 platforms: [.macOS(.v14)],
7 dependencies: [
8 .package(url: "https://github.com/hummingbird-project/hummingbird.git", from: "2.28.0", traits: []),
9 .package(url: "https://github.com/vapor/sqlite-nio.git", from: "1.13.2"),
10 .package(url: "https://github.com/apple/swift-http-types.git", from: "1.4.0"),
11 ],
12 targets: [
13 .target(
14 name: "TodoApp",
15 dependencies: [
16 .product(name: "Hummingbird", package: "hummingbird"),
17 .product(name: "SQLiteNIO", package: "sqlite-nio"),
18 .product(name: "HTTPTypes", package: "swift-http-types"),
19 ]
20 ),
21 .executableTarget(name: "todo", dependencies: ["TodoApp"]),
22 .testTarget(
23 name: "TodoAppTests",
24 dependencies: [
25 "TodoApp",
26 .product(name: "HummingbirdTesting", package: "hummingbird"),
27 ]
28 ),
29 ]
30)
31