Instructions for adding build to PATH.

This commit is contained in:
John Albietz 2014-04-01 12:54:17 -07:00
commit 47193fd7af

View file

@ -40,11 +40,18 @@ On Mac OS X with MacPorts (http://www.macports.org/):
With cabal installed, cd to the shellcheck source directory and:
$ cabal install
...
This will install shellcheck to your ~/.cabal/bin directory.
Add the directory to your path (for bash, add this to your ~/.bashrc file):
export PATH=$HOME/.cabal/bin:$PATH
Verify that your PATH is set up correctly:
$ which shellcheck
~/.cabal/bin/shellcheck
## Building with Make
ShellCheck is written in Haskell, and requires GHC, Parsec3, JSON and