Skip to content

Commit

Permalink
Guise 11
Browse files Browse the repository at this point in the history
Built for Swift 6
  • Loading branch information
Revolucent committed Dec 28, 2024
1 parent 1ebe0b8 commit 197a60d
Show file tree
Hide file tree
Showing 95 changed files with 1,463 additions and 6,893 deletions.
2 changes: 2 additions & 0 deletions .mise.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[tools]
swiftlint = '0.57.1'
2 changes: 2 additions & 0 deletions .swiftlint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ disabled_rules:
- large_tuple
- nesting
- todo
- trailing_comma
excluded:
- .build
- .swiftpm
15 changes: 8 additions & 7 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,23 +1,24 @@
{
"originHash" : "8ec77aa81408049d243edddd7a23858de4372995584a8c6d73f0eb7f59e37264",
"pins" : [
{
"identity" : "swift-atomics",
"identity" : "semaphore",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-atomics",
"location" : "https://github.com/groue/Semaphore",
"state" : {
"revision" : "919eb1d83e02121cdb434c7bfc1f0c66ef17febe",
"version" : "1.0.2"
"revision" : "2543679282aa6f6c8ecf2138acd613ed20790bc2",
"version" : "0.1.0"
}
},
{
"identity" : "swift-collections",
"kind" : "remoteSourceControl",
"location" : "https://github.com/apple/swift-collections",
"state" : {
"revision" : "f504716c27d2e5d4144fa4794b12129301d17729",
"version" : "1.0.3"
"revision" : "671108c96644956dddcd89dd59c203dcdb36cec7",
"version" : "1.1.4"
}
}
],
"version" : 2
"version" : 3
}
40 changes: 14 additions & 26 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,48 +1,36 @@
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
// swift-tools-version: 6.0

import PackageDescription

let package = Package(
name: "Guise",
platforms: [.macOS(.v10_15), .iOS(.v15), .tvOS(.v15), .watchOS(.v8)],
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.watchOS(.v6),
.tvOS(.v13),
],
products: [
.library(
name: "Guise",
targets: ["Guise"]
)
),
],
dependencies: [
.package(url: "https://github.com/apple/swift-atomics", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-collections", from: "1.0.0")
.package(url: "https://github.com/groue/Semaphore", from: "0.1.0"),
.package(url: "https://github.com/apple/swift-collections", from: "1.0.0"),
],
targets: [
.target(
name: "Guise",
dependencies: [
.product(name: "Atomics", package: "swift-atomics"),
.product(name: "OrderedCollections", package: "swift-collections")
],
exclude: [
"Lazy/LazyResolver+Async.swift.gyb",
"Lazy/LazyResolver+Sync.swift.gyb",
"Lazy/LazyTagsResolver+Async.swift.gyb",
"Lazy/LazyTagsResolver+Sync.swift.gyb",
"Registrar/Auto.swift.gyb",
"Registrar/Registrar+Async.swift.gyb",
"Registrar/Registrar+Sync.swift.gyb",
"Resolver/Resolver+Async.swift.gyb",
"Resolver/Resolver+Sync.swift.gyb"
.product(name: "OrderedCollections", package: "swift-collections"),
"Semaphore",
]
),
.testTarget(
name: "GuiseTests",
dependencies: ["Guise"],
exclude: [
"ArgumentTests.swift.gyb",
"LazyResolverTests.swift.gyb",
"LazyTagsResolverTests.swift.gyb"
]
)
dependencies: ["Guise"]
),
]
)
Loading

0 comments on commit 197a60d

Please sign in to comment.