mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 13:53:58 -07:00
Add support to compiling a binary for macOS
This commit is contained in:
parent
36bb1e7858
commit
7a1fb2523d
4 changed files with 109 additions and 55 deletions
|
@ -257,9 +257,7 @@ ShellCheck is built and packaged using Cabal. Install the package `cabal-install
|
|||
|
||||
On MacOS (OS X), you can do a fast install of Cabal using brew, which takes a couple of minutes instead of more than 30 minutes if you try to compile it from source.
|
||||
|
||||
brew install cask
|
||||
brew cask install haskell-platform
|
||||
cabal install cabal-install
|
||||
$ brew install cabal-install
|
||||
|
||||
On MacPorts, the package is instead called `hs-cabal-install`, while native Windows users should install the latest version of the Haskell platform from <https://www.haskell.org/platform/>
|
||||
|
||||
|
@ -512,3 +510,4 @@ Happy ShellChecking!
|
|||
|
||||
* The wiki has [long form descriptions](https://github.com/koalaman/shellcheck/wiki/Checks) for each warning, e.g. [SC2221](https://github.com/koalaman/shellcheck/wiki/SC2221).
|
||||
* ShellCheck does not attempt to enforce any kind of formatting or indenting style, so also check out [shfmt](https://github.com/mvdan/sh)!
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue