lintshell analyzes the syntax trees produced by the morbig parser to look for potential programming errors.
lintshell is user-extensible: anyone can program an analysis and integrate it into the tool.
After the first release, there will be an OPAM package and
opam install lintshell
will be sufficient.
One can install the latest development version with:
opam pin lintshell.dev https://github.com/colis-anr/lintshell.git
Or manually by:
- cloning this repository and
cd
-ing to it; - installing the dependencies:
opam install . --deps-only
- make sure OPAM's environment is in sync:
eval $(opam env)
- building lintshell:
make
- playing with it:
bin/lintshell [...]
- installing it:
make install
- ocaml (≥ 4.03.0)
- morbig (≥ 0.10.3)
lintshell list
displays the list of installed analyzers.lintshell check script
analyzes POSIX shellscript
.lintshell show analyzer
displays a description ofanalyzer
.
Please read this file?