diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a024aab..dc35517 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -55,6 +55,12 @@ jobs: - name: Install dependencies run: composer install --prefer-dist + - + name: Run PHPUnit + run: make -v + - + name: Run PHPUnit + run: $PSVersionTable - name: Run PHPUnit run: vendor/bin/phpunit diff --git a/resources/Common/Platform/Windows/default.mk b/resources/Common/Platform/Windows/default.mk index 85e06df..374c840 100644 --- a/resources/Common/Platform/Windows/default.mk +++ b/resources/Common/Platform/Windows/default.mk @@ -6,6 +6,8 @@ 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 "$(subst $(SPACE),${COMMA},${MAKEFILE_LIST})" @Select-String -Pattern '^ *(?[-a-zA-Z0-9_/]+) *:.*## *(?.+)' $(subst $(SPACE),${COMMA},${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