mirror of
https://github.com/koalaman/shellcheck
synced 2025-08-21 22:03:45 -07:00
Merge 75e2de7923
into e6d81ca7b7
This commit is contained in:
commit
ac70379a4c
1 changed files with 7 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue