From 37d3a8318f69a793f35acba98bf38db940d400b4 Mon Sep 17 00:00:00 2001 From: "marc@opscode.com" Date: Wed, 17 Oct 2012 13:05:46 -0700 Subject: [PATCH 1/2] include deps for otp-structured apps --- syntax_checkers/erlang_check_file.erl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/syntax_checkers/erlang_check_file.erl b/syntax_checkers/erlang_check_file.erl index d2f4217a..e4411f9f 100755 --- a/syntax_checkers/erlang_check_file.erl +++ b/syntax_checkers/erlang_check_file.erl @@ -12,5 +12,6 @@ main([FileName]) -> warn_export_vars, strong_validation, report, - {i, filename:dirname(FileName) ++ "/../include"} + {i, filename:dirname(FileName) ++ "/../include"}, + {i, filename:dirname(FileName) ++ "/../../../deps"} ]). From 02b22f862bc0ae6efc1e9deccbe6ae8c498deb38 Mon Sep 17 00:00:00 2001 From: "marc@opscode.com" Date: Wed, 17 Oct 2012 13:09:26 -0700 Subject: [PATCH 2/2] additional typical deps location for includes --- syntax_checkers/erlang_check_file.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax_checkers/erlang_check_file.erl b/syntax_checkers/erlang_check_file.erl index e4411f9f..f4da8f93 100755 --- a/syntax_checkers/erlang_check_file.erl +++ b/syntax_checkers/erlang_check_file.erl @@ -13,5 +13,6 @@ main([FileName]) -> strong_validation, report, {i, filename:dirname(FileName) ++ "/../include"}, + {i, filename:dirname(FileName) ++ "/../deps"}, {i, filename:dirname(FileName) ++ "/../../../deps"} ]).