You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/SWBCore/Specs/CommandLineToolSpec.swift
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -15,7 +15,7 @@ public import struct Foundation.Data
15
15
publicimportclass Foundation.JSONDecoder
16
16
publicimport SWBMacro
17
17
18
-
/// Describes the type and other characterstics of a single kind of input file accepted by a build tool.
18
+
/// Describes the type and other characteristics of a single kind of input file accepted by a build tool.
19
19
structInputFileTypeDescriptor:Encodable,Sendable{
20
20
/// Identifier of the file type — this is unbound until the build tool is used, since the particular file type any given identifier maps to can depend on the context.
21
21
letidentifier:String
@@ -509,7 +509,7 @@ open class CommandLineToolSpec : PropertyDomainSpec, SpecType, TaskTypeDescripti
// If the tool defined no outputs then force the definition of one using $(OutputPath). This correpsonds to the effective behavior of Xcode, which would implicitly create the output node when the spec asked for [output].
512
+
// If the tool defined no outputs then force the definition of one using $(OutputPath). This corresponds to the effective behavior of Xcode, which would implicitly create the output node when the spec asked for [output].
513
513
//
514
514
// FIXME: Force the specs to define this, instead of synthesizing it: <rdar://problem/24544779> [Swift Build] Stop synthesizing Outputs for generic command line tools
@@ -1417,7 +1417,7 @@ open class GenericCommandLineToolSpec : CommandLineToolSpec, @unchecked Sendable
1417
1417
/// A general-purpose output parser for scraping traditional POSIX-style diagnostics. Output is passed through to the delegate as it is received, while diagnostic parsing is done line-by-line as each newline is encountered.
1418
1418
openclassGenericOutputParser:TaskOutputParser{
1419
1419
1420
-
/// The delegate that's informed about ouput and diagnostics.
1420
+
/// The delegate that's informed about output and diagnostics.
1421
1421
publicletdelegate:anyTaskOutputParserDelegate
1422
1422
1423
1423
/// Workspace context associated with the output parser.
@@ -1470,7 +1470,7 @@ open class GenericOutputParser : TaskOutputParser {
1470
1470
// Following that, there must be a diagnostic kind keyword or a basename
1471
1471
// alias, and then a diagnostic.
1472
1472
//
1473
-
// We also retrict the leading indicator to not have any quote characters,
1473
+
// We also restrict the leading indicator to not have any quote characters,
1474
1474
// which helps filter out anything which looks like a diagnostic but is
Copy file name to clipboardExpand all lines: Sources/SWBCore/Specs/CoreBuildSystem.xcspec
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1757,7 +1757,7 @@ When `GENERATE_INFOPLIST_FILE` is enabled, sets the value of the [CFBundleIdenti
1757
1757
* When set to Automatic, this target's immediate dependencies which build dynamic libraries or frameworks and are in its Link Binaries With Libraries will automatically be built as mergeable libraries and merged into this target's binary during release builds, or reexported during debug builds.
1758
1758
* When set to Manual, only immediate dependencies which have Build Mergeable Library explicitly enabled will be merged or reexported.
1759
1759
1760
-
For more information on mergable libraries, see [Configuring your project to use mergeable libraries](https://developer.apple.com/documentation/xcode/configuring-your-project-to-use-mergeable-libraries).";
1760
+
For more information on mergeable libraries, see [Configuring your project to use mergeable libraries](https://developer.apple.com/documentation/xcode/configuring-your-project-to-use-mergeable-libraries).";
1761
1761
},
1762
1762
{
1763
1763
Name = "AUTOMATICALLY_MERGE_DEPENDENCIES";
@@ -1777,7 +1777,7 @@ For more information on mergable libraries, see [Configuring your project to use
1777
1777
DisplayName = "Build Mergeable Library";
1778
1778
Description = "For dynamic libraries and frameworks, links this target's binary as a mergeable library which can be merged into the product of a target which depends on it if that target is configured to do so. This target will be linked as a mergeable library in release builds so it can be merged, but will instead be linked as a normal dynamic library to be reexported in debug builds. For other binary types, this setting has no effect.
1779
1779
1780
-
For more information on mergable libraries, see [Configuring your project to use mergeable libraries](https://developer.apple.com/documentation/xcode/configuring-your-project-to-use-mergeable-libraries).";
1780
+
For more information on mergeable libraries, see [Configuring your project to use mergeable libraries](https://developer.apple.com/documentation/xcode/configuring-your-project-to-use-mergeable-libraries).";
1781
1781
},
1782
1782
{
1783
1783
Name = "MAKE_MERGEABLE";
@@ -1925,7 +1925,7 @@ For more information on mergable libraries, see [Configuring your project to use
1925
1925
);
1926
1926
DefaultValue = "compiler-default";
1927
1927
DisplayName = "Text-Based InstallAPI Language Dialect";
1928
-
Description = "Selects the langauge dialect when building `Text-Based InstallAPI`.";
1928
+
Description = "Selects the language dialect when building `Text-Based InstallAPI`.";
// Define TARGET_BUILD_SUBPATH so the target builds to $(TARGET_BUILD_DIR)/$(TARGET_BUILD_SUBPATH) (or slightly different for deployment location builds).
664
-
// <rdar://problem/18902931> Should PBXXCTestBundleProductType override BUILT_PRODUCTS_DIR when it overrides TARGET_BULD_DIR?
664
+
// <rdar://problem/18902931> Should PBXXCTestBundleProductType override BUILT_PRODUCTS_DIR when it overrides TARGET_BUILD_DIR?
table.push(BuiltinMacros.DWARF_DSYM_FOLDER_PATH, table.namespace.parseString("$(TARGET_BUILD_DIR)")) // Do we really want dSYMs to go inside of the host app's PlugIns dir?
667
667
@@ -706,7 +706,7 @@ public final class XCTestBundleProductTypeSpec : BundleProductTypeSpec, @uncheck
706
706
}
707
707
708
708
// Define TARGET_BUILD_SUBPATH so the target builds to $(TARGET_BUILD_DIR)/$(TARGET_BUILD_SUBPATH) (or slightly different for deployment location builds).
709
-
// <rdar://problem/18902931> Should PBXXCTestBundleProductType override BUILT_PRODUCTS_DIR when it overrides TARGET_BULD_DIR?
709
+
// <rdar://problem/18902931> Should PBXXCTestBundleProductType override BUILT_PRODUCTS_DIR when it overrides TARGET_BUILD_DIR?
Copy file name to clipboardExpand all lines: Sources/SWBCore/Specs/PropertyDomainSpec.swift
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -223,7 +223,7 @@ private let buildOptionTypes: [String: any BuildOptionType] = [
223
223
/// Expand to the literal dynamic value, unmodified.
224
224
case literal
225
225
226
-
/// Expand into the given arguments, after macro expression evaluation (as appropiate for the macro type). The special macro '$(value)' can be used to refer to the dynamic value of the option.
226
+
/// Expand into the given arguments, after macro expression evaluation (as appropriate for the macro type). The special macro '$(value)' can be used to refer to the dynamic value of the option.
Copy file name to clipboardExpand all lines: Sources/SWBCore/Specs/SpecRegistry.swift
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ public protocol SpecType: AnyObject {
44
44
/// The name of the spec subregistry to associate with this type.
45
45
staticvarsubregistryName:String{get}
46
46
47
-
/// The default class type to instantiate as, if not overriden.
47
+
/// The default class type to instantiate as, if not overridden.
48
48
///
49
49
/// By default, this will be the SpecType itself, however this can be used to force specs which do not override 'Class' to be instantiated as a separate type (which would generally be a subclass of the actual SpecType). This is useful when specs without a custom 'Class' support a different set of keys than those that do.
iflet data =try?PropertyList.fromPath(path, fs: localFS){
663
663
// If we found a property list, it should be a map of strings.
@@ -909,7 +909,7 @@ public final class SpecRegistry {
909
909
print(error)
910
910
}
911
911
912
-
// Find places where a proxy illegally depends on a spec overriden in a subdomain.
912
+
// Find places where a proxy illegally depends on a spec overridden in a subdomain.
913
913
//
914
914
// Essentially, if spec in a generic domain (foo:default) is based on an unspecified specification (bar), which is in a more specific domain 'device', then the semantics we want are that a search for 'foo:device' will return 'foo:device basedOn bar:device'. These are unfortunate semantics to implement dynamically (we want each proxy to resolve to one spec), so instead we clone any proxies that might need to satisfy this.
0 commit comments