syntastic/syntax_checkers/erlang_check_file

4 lines
104 B
Plaintext
Raw Normal View History

#!/usr/bin/env bash
INCLUDE_DIR=" -pa `dirname ${2}`/../include "
erl ${1} ${INCLUDE_DIR} -compile ${2}