Skip to content

Show Build Trees

Roman Kuzmin edited this page Aug 20, 2022 · 6 revisions

The script Show-BuildTree.ps1 visualizes specified build task trees as indented text with brief task details.

Example

This command invoked for the build script of this project

Show-BuildTree NuGet

shows the following task tree

NuGet # Make the NuGet package.
    Version # Set $script:Version.
        {}
    Package # Make the package directory z\tools for NuGet.
        ConvertMarkdown # Convert markdown files to HTML files (using MarkdownDeep).
            {}
        Help # Build the PowerShell help file.
            {}
        GitStatus # Warn about not empty git status if .git exists.
            {}
        {}
    {}