- iOS: swift lint, build verification, and test on PR - Web: typecheck, vitest tests, build, and Vercel deployment (ready for web project) - Package.swift: defines Lendair as buildable Swift package - Test target: LendairTests with XCTest boilerplate Co-Authored-By: Paperclip <noreply@paperclip.ing>
34 lines
662 B
Swift
34 lines
662 B
Swift
// swift-tools-version: 5.9
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "Lendair",
|
|
platforms: [
|
|
.iOS(.v16),
|
|
.macOS(.v13)
|
|
],
|
|
products: [
|
|
.library(
|
|
name: "Lendair",
|
|
targets: ["Lendair"]
|
|
)
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "Lendair",
|
|
path: ".",
|
|
sources: [
|
|
"Models",
|
|
"Services",
|
|
"ViewModels",
|
|
"Views"
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "LendairTests",
|
|
dependencies: ["Lendair"],
|
|
path: "LendairTests"
|
|
)
|
|
]
|
|
)
|