samples/_default/.build.map.ps1

$targets = @{
    "build" = {
        param($ctx, [bool][switch]$noRestore)

        $a = @()
        if ($noRestore) {
            $a += "--no-restore"
        }
        dotnet build @a
    }
}

return $targets