mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
966 B
966 B
Internals of build process
The purpose of this document is to explain build process internals with subtle nuances.
This document is not by any means complete.
The ultimate source of truth is the code in .\build.psm1 that's getting executed on the corresponding CI system.
This document assumes, that you can successfully build PowerShell from sources for your platform.
Top directory
We are calling dotnet tool build for $Top directory
src\powershellfor CoreCLR builds (all platforms)src\Microsoft.PowerShell.ConsoleHostfor FullCLR builds (Windows only)
Modules
There are 3 modules directories with the same purpose: they have content files (i.e. *.psm1, *.psd1)
which would be binplaced by dotnet
src\Modulesshared between all flavourssrc\Microsoft.PowerShell.ConsoleHost\ModulesFullCLR (Windows)src\powershell\ModulesCoreCLR (all platforms)