Skip to content
Browse files

Update code path so that include_lib will work

  • Loading branch information...
1 parent aa8b4e9 commit 6192cdbc9504cb6db04808f5a89f3892a17993fc @xenolinguist committed Oct 31, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 syntax_checkers/erlang_check_file.erl
View
2 syntax_checkers/erlang_check_file.erl
@@ -2,6 +2,8 @@
-export([main/1]).
main([FileName]) ->
+ code:add_pathsa(filelib:wildcard(filename:absname(filename:join([filename:dirname(FileName), "..", "..", "*", "ebin"])))),
+
compile:file(FileName, [warn_obsolete_guard,
warn_unused_import,
warn_shadow_vars,

0 comments on commit 6192cdb

Please sign in to comment.
Something went wrong with that request. Please try again.