https://github.com/feather-framework/feather-spec-vapor
The FeatherSpecVapor library provides a Vapor runtime for the Feather Spec tool.
https://github.com/feather-framework/feather-spec-vapor
Last synced: 4 months ago
JSON representation
The FeatherSpecVapor library provides a Vapor runtime for the Feather Spec tool.
- Host: GitHub
- URL: https://github.com/feather-framework/feather-spec-vapor
- Owner: feather-framework
- License: mit
- Created: 2023-11-24T15:26:33.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-08-10T08:56:10.000Z (almost 2 years ago)
- Last Synced: 2024-08-10T09:49:43.181Z (almost 2 years ago)
- Language: Swift
- Homepage:
- Size: 307 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Feather Spec Vapor
The `FeatherSpecVapor` library provides a Vapor runtime for the Feather Spec tool.
## Getting started
⚠️ This repository is a work in progress, things can break until it reaches v1.0.0.
Use at your own risk.
### Adding the dependency
To add a dependency on the package, declare it in your `Package.swift`:
```swift
.package(url: "https://github.com/feather-framework/feather-spec-vapor", .upToNextMinor(from: "0.3.0")),
```
and to your application target, add `FeatherSpecVapor` to your dependencies:
```swift
.product(name: "FeatherSpecVapor", package: "feather-spec-vapor")
```
Example `Package.swift` file with `FeatherSpecVapor` as a dependency:
```swift
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "my-application",
dependencies: [
.package(url: "https://github.com/feather-framework/feather-spec-vapor", .upToNextMinor(from: "0.3.0")),
],
targets: [
.target(name: "MyApplication", dependencies: [
.product(name: "FeatherSpecVapor", package: "feather-spec-vapor")
]),
.testTarget(name: "MyApplicationTests", dependencies: [
.target(name: "MyApplication"),
]),
]
)
```