Files
runner-images/images/win/scripts/Installers/Install-Mingw64.ps1
Aleksandr Chebotov a12a3b7042 Rename Mingw-w64 (#893)
2020-05-19 13:16:59 +03:00

14 lines
607 B
PowerShell

################################################################################
## File: Install-Mingw64.ps1
## Desc: Install GNU tools for Windows to C:\tools\mingw64
################################################################################
Import-Module -Name ImageHelpers -Force
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 = where.exe mingw32-make.exe | Get-Item
Copy-Item -Path $path -Destination (Join-Path $path.Directory 'make.exe')