@@ -218,13 +218,14 @@ public final class Package {
218
218
public var cxxLanguageStandard : CXXLanguageStandard ?
219
219
220
220
#if PACKAGE_DESCRIPTION_4
221
- /// Initializes a Swift package with the provided configuration options.
221
+ /// Initializes a Swift package with configuration options you provide .
222
222
///
223
223
/// - Parameters:
224
- /// - name: The name of the Swift package or `nil` to deduce the name from the package’s Git URL.
224
+ /// - name: The name of the Swift package, or `nil`, if you want the Swift Package Manager to deduce the
225
+ /// name from the package’s Git URL.
225
226
/// - pkgConfig: The name to use for C modules. If present, the Swift
226
- /// Package Manager searches for a <name>.pc file to get the
227
- /// required additional flags for a system target.
227
+ /// Package Manager searches for a ` <name>.pc` file to get the
228
+ /// additional flags required for a system target.
228
229
/// - providers: The package providers for a system package.
229
230
/// - products: The list of products that this package vends and that clients can use.
230
231
/// - dependencies: The list of package dependencies.
@@ -255,14 +256,15 @@ public final class Package {
255
256
registerExitHandler ( )
256
257
}
257
258
#else
258
- /// Initializes a Swift package with the provided configuration options.
259
+ /// Initializes a Swift package with configuration options you provide .
259
260
///
260
261
/// - Parameters:
261
- /// - name: The name of the Swift package or `nil` to deduce the name from the package’s Git URL.
262
+ /// - name: The name of the Swift package, or `nil`, if you want the Swift Package Manager to deduce the
263
+ /// name from the package’s Git URL.
262
264
/// - pkgConfig: The name to use for C modules. If present, the Swift
263
- /// Package Manager searches for a <name>.pc file to get the
264
- /// required additional flags for a system target.
265
- /// - products: The list of products that this package vends and that clients can use.
265
+ /// Package Manager searches for a ` <name>.pc` file to get the
266
+ /// additional flags required for a system target.
267
+ /// - products: The list of products that this package makes available for clients to use.
266
268
/// - dependencies: The list of package dependencies.
267
269
/// - targets: The list of targets that are part of this package.
268
270
/// - swiftLanguageVersions: The list of Swift versions that this package is compatible with.
@@ -292,15 +294,16 @@ public final class Package {
292
294
registerExitHandler ( )
293
295
}
294
296
295
- /// Initializes a Swift package with the provided configuration options.
297
+ /// Initializes a Swift package with configuration options you provide .
296
298
///
297
299
/// - Parameters:
298
- /// - name: The name of the Swift package or `nil` to deduce the name from the package’s Git URL.
299
- /// - platforms: The list of supported platforms with a custom deployment target.
300
+ /// - name: The name of the Swift package, or `nil`, if you want the Swift Package Manager to deduce the
301
+ /// name from the package’s Git URL.
302
+ /// - platforms: The list of supported platforms that have a custom deployment target.
300
303
/// - pkgConfig: The name to use for C modules. If present, the Swift
301
- /// Package Manager searches for a <name>.pc file to get the
302
- /// required additional flags for a system target.
303
- /// - products: The list of products that this package vends and that clients can use.
304
+ /// Package Manager searches for a ` <name>.pc` file to get the
305
+ /// additional flags required for a system target.
306
+ /// - products: The list of products that this package makes available for clients to use.
304
307
/// - dependencies: The list of package dependencies.
305
308
/// - targets: The list of targets that are part of this package.
306
309
/// - swiftLanguageVersions: The list of Swift versions that this package is compatible with.
@@ -332,15 +335,16 @@ public final class Package {
332
335
registerExitHandler ( )
333
336
}
334
337
335
- /// Initializes a Swift package with the provided configuration options.
338
+ /// Initializes a Swift package with configuration options you provide .
336
339
///
337
340
/// - Parameters:
338
- /// - name: The name of the Swift package or `nil` to deduce the name from the package’s Git URL.
341
+ /// - name: The name of the Swift package, or `nil`, if you want the Swift Package Manager to deduce the
342
+ /// name from the package’s Git URL.
339
343
/// - defaultLocalization: The default localization for resources.
340
- /// - platforms: The list of supported platforms with a custom deployment target.
344
+ /// - platforms: The list of supported platforms that have a custom deployment target.
341
345
/// - pkgConfig: The name to use for C modules. If present, the Swift
342
- /// Package Manager searches for a <name>.pc file to get the
343
- /// required additional flags for a system target.
346
+ /// Package Manager searches for a ` <name>.pc` file to get the
347
+ /// additional flags required for a system target.
344
348
/// - products: The list of products that this package vends and that clients can use.
345
349
/// - dependencies: The list of package dependencies.
346
350
/// - targets: The list of targets that are part of this package.
@@ -410,8 +414,7 @@ public final class Package {
410
414
411
415
/// A wrapper around an IETF language tag.
412
416
///
413
- /// To learn more about IETF language tags, a worldwide standard for language
414
- /// tags, visit [the IEFT website for RFC5646](https://tools.ietf.org/html/rfc5646).
417
+ /// To learn more about the IETF worldwide standard for language tags, see [RFC5646](https://tools.ietf.org/html/rfc5646).
415
418
public struct LanguageTag : Hashable {
416
419
417
420
/// An IETF language tag.
@@ -464,7 +467,7 @@ public enum SystemPackageProvider {
464
467
#endif
465
468
466
469
/// Creates a system package provider with a list of installable packages
467
- /// for users of the homebrew package manager on macOS.
470
+ /// for users of the HomeBrew package manager on macOS.
468
471
///
469
472
/// - Parameters:
470
473
/// - packages: The list of package names.
0 commit comments