mirror of
https://github.com/apple/swift-http-types
synced 2026-11-22 04:30:40 +00:00
# Motivation We just adopted GH actions and want to make sure all the CI checks are green. # Modification This PR makes the necessary changes to pass all checks. Including: - Adding a licenseignore file - Moving `swift-format` and adopting the config that we use in all other swift on server repos. # Result Green CI.
28 lines
753 B
Swift
28 lines
753 B
Swift
// swift-tools-version: 5.7.1
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Benchmarks",
|
|
platforms: [
|
|
.macOS(.v13)
|
|
],
|
|
dependencies: [
|
|
.package(path: "../"),
|
|
.package(url: "https://github.com/ordo-one/package-benchmark.git", from: "1.22.1"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "Benchmarks",
|
|
dependencies: [
|
|
.product(name: "Benchmark", package: "package-benchmark"),
|
|
.product(name: "HTTPTypes", package: "swift-http-types"),
|
|
],
|
|
path: "Benchmarks/HTTPFieldsBenchmarks",
|
|
plugins: [
|
|
.plugin(name: "BenchmarkPlugin", package: "package-benchmark")
|
|
]
|
|
)
|
|
]
|
|
)
|