Skip to content

Commit 51c7f64

Browse files
authored
Merge pull request #75627 from compnerd/indentation
utils: correct indentation (NFC)
2 parents 9c4da1f + b11d995 commit 51c7f64

File tree

1 file changed

+30
-30
lines changed

1 file changed

+30
-30
lines changed

utils/build.ps1

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -1661,36 +1661,36 @@ function Build-Foundation([Platform]$Platform, $Arch, [switch]$Test = $false) {
16611661
$HostDefines = @{}
16621662
}
16631663

1664-
Build-CMakeProject `
1665-
-Src $SourceCache\swift-corelibs-foundation `
1666-
-Bin $FoundationBinaryCache `
1667-
-InstallTo $InstallPath `
1668-
-Arch $Arch `
1669-
-Platform $Platform `
1670-
-UseBuiltCompilers ASM,C,CXX,Swift `
1671-
-BuildTargets $Targets `
1672-
-Defines (@{
1673-
FOUNDATION_BUILD_TOOLS = if ($Platform -eq "Windows") { "YES" } else { "NO" };
1674-
CURL_DIR = "$LibraryRoot\curl-8.5.0\usr\lib\$Platform\$ShortArch\cmake\CURL";
1675-
LIBXML2_LIBRARY = if ($Platform -eq "Windows") {
1676-
"$LibraryRoot\libxml2-2.11.5\usr\lib\$Platform\$ShortArch\libxml2s.lib";
1677-
} else {
1678-
"$LibraryRoot\libxml2-2.11.5\usr\lib\$Platform\$ShortArch\libxml2.a";
1679-
};
1680-
LIBXML2_INCLUDE_DIR = "$LibraryRoot\libxml2-2.11.5\usr\include\libxml2";
1681-
LIBXML2_DEFINITIONS = "-DLIBXML_STATIC";
1682-
ZLIB_LIBRARY = if ($Platform -eq "Windows") {
1683-
"$LibraryRoot\zlib-1.3.1\usr\lib\$Platform\$ShortArch\zlibstatic.lib"
1684-
} else {
1685-
"$LibraryRoot\zlib-1.3.1\usr\lib\$Platform\$ShortArch\libz.a"
1686-
};
1687-
ZLIB_INCLUDE_DIR = "$LibraryRoot\zlib-1.3.1\usr\include";
1688-
dispatch_DIR = "$DispatchBinaryCache\cmake\modules";
1689-
SwiftSyntax_DIR = "$SwiftSyntaxDir";
1690-
_SwiftFoundation_SourceDIR = "$SourceCache\swift-foundation";
1691-
_SwiftFoundationICU_SourceDIR = "$SourceCache\swift-foundation-icu";
1692-
_SwiftCollections_SourceDIR = "$SourceCache\swift-collections"
1693-
} + $HostDefines + $TestingDefines)
1664+
Build-CMakeProject `
1665+
-Src $SourceCache\swift-corelibs-foundation `
1666+
-Bin $FoundationBinaryCache `
1667+
-InstallTo $InstallPath `
1668+
-Arch $Arch `
1669+
-Platform $Platform `
1670+
-UseBuiltCompilers ASM,C,CXX,Swift `
1671+
-BuildTargets $Targets `
1672+
-Defines (@{
1673+
FOUNDATION_BUILD_TOOLS = if ($Platform -eq "Windows") { "YES" } else { "NO" };
1674+
CURL_DIR = "$LibraryRoot\curl-8.5.0\usr\lib\$Platform\$ShortArch\cmake\CURL";
1675+
LIBXML2_LIBRARY = if ($Platform -eq "Windows") {
1676+
"$LibraryRoot\libxml2-2.11.5\usr\lib\$Platform\$ShortArch\libxml2s.lib";
1677+
} else {
1678+
"$LibraryRoot\libxml2-2.11.5\usr\lib\$Platform\$ShortArch\libxml2.a";
1679+
};
1680+
LIBXML2_INCLUDE_DIR = "$LibraryRoot\libxml2-2.11.5\usr\include\libxml2";
1681+
LIBXML2_DEFINITIONS = "-DLIBXML_STATIC";
1682+
ZLIB_LIBRARY = if ($Platform -eq "Windows") {
1683+
"$LibraryRoot\zlib-1.3.1\usr\lib\$Platform\$ShortArch\zlibstatic.lib"
1684+
} else {
1685+
"$LibraryRoot\zlib-1.3.1\usr\lib\$Platform\$ShortArch\libz.a"
1686+
};
1687+
ZLIB_INCLUDE_DIR = "$LibraryRoot\zlib-1.3.1\usr\include";
1688+
dispatch_DIR = "$DispatchBinaryCache\cmake\modules";
1689+
SwiftSyntax_DIR = "$SwiftSyntaxDir";
1690+
_SwiftFoundation_SourceDIR = "$SourceCache\swift-foundation";
1691+
_SwiftFoundationICU_SourceDIR = "$SourceCache\swift-foundation-icu";
1692+
_SwiftCollections_SourceDIR = "$SourceCache\swift-collections"
1693+
} + $HostDefines + $TestingDefines)
16941694
}
16951695
}
16961696
}

0 commit comments

Comments
 (0)