diff --git a/README.md b/README.md index d8e6a7b..ff9bc5b 100644 --- a/README.md +++ b/README.md @@ -45,14 +45,14 @@ Let cabal update itself, in case your distro version is outdated: 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: +Verify that your PATH is set up correctly: $ which shellcheck ~/.cabal/bin/shellcheck @@ -72,6 +72,11 @@ On Ubuntu and similar, use: apt-get install ghc libghc-parsec3-dev libghc-json-dev \ libghc-regex-compat-dev libghc-quickcheck2-dev pandoc +On Gentoo: + emerge cabal cabal-install dev-haskell/parsec \ + dev-haskell/quickcheck dev-haskell/json \ + dev-haskell/regex-compat pandoc + To build and run the tests, cd to the shellcheck source directory and: $ make