diff --git a/build.psm1 b/build.psm1 index 51df07188..c17079183 100644 --- a/build.psm1 +++ b/build.psm1 @@ -376,7 +376,7 @@ function New-PSOptions { } else { - $Top = "$PSScriptRoot/src/powershell-windows" + $Top = "$PSScriptRoot/src/powershell-win-core" } } Write-Verbose "Top project directory is $Top" diff --git a/docs/building/internals.md b/docs/building/internals.md index 27c2689a1..3480a9721 100644 --- a/docs/building/internals.md +++ b/docs/building/internals.md @@ -13,14 +13,14 @@ Top directory We are calling `dotnet` tool build for `$Top` directory -- `src\powershell-windows` for CoreCLR on Windows. +- `src\powershell-win-core` for CoreCLR on Windows. - `src\powershell-unix` for CoreCLR on Linux and OS X. -- `src\powershell-full` for FullCLR builds (Windows only) +- `src\powershell-win-full` for FullCLR builds (Windows only) ### Dummy dependencies We use dummy dependencies between project.json files to leverage `dotnet` build functionality. -For example, `src\powershell-windows\project.json` has dependency on `Microsoft.PowerShell.PSReadLine`, +For example, `src\powershell-win-core\project.json` has dependency on `Microsoft.PowerShell.PSReadLine`, but in reality, there is no build dependency. Dummy dependencies allows us to build just `$Top` folder, instead of building several folders. @@ -28,7 +28,7 @@ Dummy dependencies allows us to build just `$Top` folder, instead of building se ### Dummy dependencies rules * If assembly is part of FullCLR build, -it should be listed as a dependency for FullCLR $Top folder (src\powershell-full) +it should be listed as a dependency for FullCLR $Top folder (src\powershell-win-full) * If assembly is part of CoreCLR build, -it should be listed as a dependency for $Top folder (src\powershell-unix or src\powershell-windows) +it should be listed as a dependency for $Top folder (src\powershell-unix or src\powershell-win-core) diff --git a/src/powershell-windows/project.json b/src/powershell-win-core/project.json similarity index 100% rename from src/powershell-windows/project.json rename to src/powershell-win-core/project.json