Revert "[Windows] Removed Git internal tools from PATH"

This commit is contained in:
Aleksandr Chebotov
2020-11-05 11:39:54 +03:00
committed by GitHub
parent ac4f5699c7
commit 635a57ab88
10 changed files with 40 additions and 127 deletions

View File

@@ -7,7 +7,7 @@ Choco-Install -PackageName mingw
# Make a copy of mingw32-make.exe to make.exe, which is a more discoverable name
# and so the same command line can be used on Windows as on macOS and Linux
$path = Get-Command mingw32-make.exe -CommandType All | Where-Object { $_.Path.Contains("C:\ProgramData\Chocolatey") } | Get-Item
$path = where.exe mingw32-make.exe | Get-Item
Copy-Item -Path $path -Destination (Join-Path $path.Directory 'make.exe')
Invoke-PesterTests -TestFile "Tools" -TestName "Mingw64"