Skip to content

Commit

Permalink
dump PS and Make versions
Browse files Browse the repository at this point in the history
  • Loading branch information
dkarlovi committed Oct 4, 2023
1 parent aa73771 commit f6785c7
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions resources/Common/Platform/Windows/default.mk
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ SPACE := $(empty) $(empty)

# TODO: rewrite output with https://learn.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_special_characters?view=powershell-7.3#escape-e
help: ## Prints this help
$$PSVersionTable
echo "$(strip ${MAKEFILE_LIST})"
echo "$(subst $(SPACE),${COMMA},${MAKEFILE_LIST})"
echo "$(subst $(SPACE),${COMMA},$(strip ${MAKEFILE_LIST}))"
@Select-String -Pattern '^ *(?<name>[-a-zA-Z0-9_/]+) *:.*## *(?<help>.+)' $(subst $(SPACE),${COMMA},$(strip ${MAKEFILE_LIST})) | Sort-Object {$$_.Matches[0].Groups["name"]} | ForEach-Object{"{0, -20}" -f $$_.Matches[0].Groups["name"] | Write-Host -NoNewline -BackgroundColor Magenta -ForegroundColor White; " {0}" -f $$_.Matches[0].Groups["help"] | Write-Host -ForegroundColor White}

# TODO: review
Expand Down

0 comments on commit f6785c7

Please sign in to comment.