]> git.r.bdr.sh - rbdr/dotfiles/blame - vim/syntax_checkers/erlang_check_file.erl
A whole bunch of new additions to the submodules
[rbdr/dotfiles] / vim / syntax_checkers / erlang_check_file.erl
CommitLineData
0d23b6e5
BB
1#!/usr/bin/env escript
2-export([main/1]).
3
4main([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 ]).