]> git.r.bdr.sh - rbdr/dotfiles/blob - vim/syntax_checkers/erlang_check_file.erl
8a85bf614141df6c603ea516b0df29b1f026f4c4
[rbdr/dotfiles] / vim / syntax_checkers / erlang_check_file.erl
1 #!/usr/bin/env escript
2 -export([main/1]).
3
4 main([FileName]) ->
5 compile:file(FileName, [warn_obsolete_guard,
6 warn_unused_import,
7 warn_shadow_vars,
8 warn_export_vars,
9 strong_validation,
10 report,
11 {i, filename:dirname(FileName) ++ "/../include"}
12 ]).