64-bit build of shellcheck, the Haskell-based shell script checker, on windows 10.
Source project: https://github.com/koalaman/shellcheck
$ shellcheck -V
ShellCheck - shell script analysis tool
version: 0.4.7
license: GNU General Public License, version 3
website: http://www.shellcheck.net
$ file ./shellcheck.exe
./shellcheck.exe: PE32+ executable (console) x86-64 (stripped to external PDB), for MS Windows
Rough outline of build steps in Windows 10
- Get MSYS2, via these steps
- Run
Mingw-w64 64bit
- Get
python3
andpip
via pacman - Get
cabal
via pip cabal update
(I had to restart MSYS2 at some point when python got confused)cabal install ShellCheck
The binary was created in /c/Users/$USER/AppData/Roaming/cabal/bin/shellcheck.exe