mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-22 06:13:54 -07:00
Add Gentoo build instructions
This commit is contained in:
parent
81956d324d
commit
75e2de7923
1 changed files with 7 additions and 2 deletions
|
@ -41,14 +41,14 @@ With cabal installed, cd to the ShellCheck source directory and:
|
|||
|
||||
$ cabal update
|
||||
$ 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
|
||||
|
@ -68,6 +68,11 @@ On Ubuntu and similar, use:
|
|||
apt-get install ghc libghc-parsec3-dev libghc-json-dev \
|
||||
libghc-regex-compat-dev libghc-quickcheck2-dev
|
||||
|
||||
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue