@@ -4,9 +4,9 @@ import CompilerPluginSupport
44import PackageDescription
55
66#if canImport(FoundationEssentials)
7- import FoundationEssentials
7+ import FoundationEssentials
88#else
9- import Foundation
9+ import Foundation
1010#endif
1111
1212let package = Package (
@@ -93,14 +93,14 @@ let package = Package(
9393 exclude: [ " Symbolic Links/README.md " ]
9494 ) ,
9595
96- . target(
97- name: " StructuredQueriesSQLite " ,
98- dependencies: [
99- " StructuredQueries " ,
100- " StructuredQueriesSQLiteCore " ,
101- " StructuredQueriesSQLiteMacros " ,
102- ]
103- ) ,
96+ . target(
97+ name: " StructuredQueriesSQLite " ,
98+ dependencies: [
99+ " StructuredQueries " ,
100+ " StructuredQueriesSQLiteCore " ,
101+ " StructuredQueriesSQLiteMacros " ,
102+ ]
103+ ) ,
104104 . target(
105105 name: " StructuredQueriesSQLiteCore " ,
106106 dependencies: [
@@ -116,14 +116,14 @@ let package = Package(
116116 ]
117117 ) ,
118118
119- . target(
120- name: " StructuredQueriesTestSupport " ,
121- dependencies: [
122- " StructuredQueriesCore " ,
123- . product( name: " CustomDump " , package : " swift-custom-dump " ) ,
124- . product( name: " InlineSnapshotTesting " , package : " swift-snapshot-testing " ) ,
125- ]
126- ) ,
119+ . target(
120+ name: " StructuredQueriesTestSupport " ,
121+ dependencies: [
122+ " StructuredQueriesCore " ,
123+ . product( name: " CustomDump " , package : " swift-custom-dump " ) ,
124+ . product( name: " InlineSnapshotTesting " , package : " swift-snapshot-testing " ) ,
125+ ]
126+ ) ,
127127 . testTarget(
128128 name: " StructuredQueriesMacrosTests " ,
129129 dependencies: [
@@ -146,12 +146,12 @@ let package = Package(
146146 ]
147147 ) ,
148148
149- . target(
150- name: " _StructuredQueriesSQLite " ,
151- dependencies: [
152- " StructuredQueriesSQLite "
153- ]
154- ) ,
149+ . target(
150+ name: " _StructuredQueriesSQLite " ,
151+ dependencies: [
152+ " StructuredQueriesSQLite "
153+ ]
154+ ) ,
155155 ] ,
156156 swiftLanguageModes: [ . v6]
157157)
@@ -184,23 +184,23 @@ for index in package.targets.indices {
184184}
185185
186186#if !canImport(Darwin)
187- package . targets. append (
188- . systemLibrary(
189- name: " _StructuredQueriesSQLite3 " ,
190- providers: [ . apt( [ " libsqlite3-dev " ] ) ]
191- )
187+ package . targets. append (
188+ . systemLibrary(
189+ name: " _StructuredQueriesSQLite3 " ,
190+ providers: [ . apt( [ " libsqlite3-dev " ] ) ]
192191 )
192+ )
193193
194- for index in package . targets. indices {
195- if package . targets [ index] . name == " _StructuredQueriesSQLite " {
196- package . targets [ index] . dependencies. append ( " _StructuredQueriesSQLite3 " )
197- }
194+ for index in package . targets. indices {
195+ if package . targets [ index] . name == " _StructuredQueriesSQLite " {
196+ package . targets [ index] . dependencies. append ( " _StructuredQueriesSQLite3 " )
198197 }
198+ }
199199#endif
200200
201201#if !os(Windows)
202- // Add the documentation compiler plugin if possible
203- package . dependencies. append (
204- . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.4.0 " )
205- )
202+ // Add the documentation compiler plugin if possible
203+ package . dependencies. append (
204+ . package ( url: " https://github.com/apple/swift-docc-plugin " , from: " 1.4.0 " )
205+ )
206206#endif
0 commit comments