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.
33 lines
770 B
Swift
33 lines
770 B
Swift
// swift-tools-version: 5.7.1
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "swift-http-types",
|
|
products: [
|
|
.library(name: "HTTPTypes", targets: ["HTTPTypes"]),
|
|
.library(name: "HTTPTypesFoundation", targets: ["HTTPTypesFoundation"]),
|
|
],
|
|
targets: [
|
|
.target(name: "HTTPTypes"),
|
|
.target(
|
|
name: "HTTPTypesFoundation",
|
|
dependencies: [
|
|
"HTTPTypes"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "HTTPTypesTests",
|
|
dependencies: [
|
|
"HTTPTypes"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "HTTPTypesFoundationTests",
|
|
dependencies: [
|
|
"HTTPTypesFoundation"
|
|
]
|
|
),
|
|
]
|
|
)
|