-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
4
- Loading branch information
Showing
47 changed files
with
2,331 additions
and
1,041 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,5 @@ | |
/.build | ||
/Packages | ||
/*.xcodeproj | ||
Package.resolved | ||
.swiftpm/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,29 @@ | ||
// swift-tools-version:4.2 | ||
// The swift-tools-version declares the minimum version of Swift required to build this package. | ||
|
||
// swift-tools-version:5.5 | ||
import PackageDescription | ||
|
||
let package = Package( | ||
name: "CrudRouter", | ||
platforms: [ | ||
.macOS(.v12) | ||
], | ||
products: [ | ||
// Products define the executables and libraries produced by a package, and make them visible to other packages. | ||
.library( | ||
name: "CrudRouter", | ||
targets: ["CrudRouter"]), | ||
.library(name: "CrudRouter", targets: ["CrudRouter"]), | ||
], | ||
dependencies: [ | ||
// Dependencies declare other packages that this package depends on. | ||
// .package(url: /* package url */, from: "1.0.0"), | ||
// 💧 A server-side Swift web framework., | ||
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "3.0.0")), | ||
|
||
// 🔵 Swift ORM (queries, models, relations, etc) built on SQLite 3. | ||
.package(url: "https://github.com/vapor/fluent-sqlite.git", .upToNextMajor(from: "3.0.0")), | ||
.package(url: "https://github.com/vapor/vapor.git", from: "4.53.0"), | ||
.package(url: "https://github.com/vapor/fluent.git", from: "4.4.0"), | ||
.package(url: "https://github.com/vapor/fluent-sqlite-driver.git", from: "4.1.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 which this package depends on. | ||
.target( | ||
name: "CrudRouter", | ||
dependencies: ["FluentSQLite", "Vapor"]), | ||
.testTarget( | ||
name: "CrudRouterTests", | ||
dependencies: ["CrudRouter", "FluentSQLite"]), | ||
.target(name: "CrudRouter", dependencies: [ | ||
.product(name: "Vapor", package: "vapor"), | ||
.product(name: "Fluent", package: "fluent"), | ||
.product(name: "FluentSQLiteDriver", package: "fluent-sqlite-driver") | ||
]), | ||
.testTarget(name: "CrudRouterIntegrationTests", dependencies: [ | ||
.target(name: "CrudRouter"), | ||
.product(name: "FluentSQLiteDriver", package: "fluent-sqlite-driver"), | ||
.product(name: "XCTVapor", package: "vapor") | ||
]), | ||
] | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.