Permalink
Browse files

Added includes to type spec generator

  • Loading branch information...
1 parent 53da05a commit 000991bfa58d31e7df4948e8624b813c3c2030bd @daleharvey committed Nov 27, 2011
Showing with 2 additions and 1 deletion.
  1. BIN erldocs
  2. +2 −1 src/erldocs_core.erl
View
Binary file not shown.
@@ -119,7 +119,8 @@ ensure_docsrc(AppDir, Conf) ->
[ begin
log("Generating Type Specs - ~s~n", [File]),
- os:cmd("./priv/bin/specs_gen.escript -o" ++ SpecsDest ++ " " ++ File)
+ Args = "-I" ++ AppDir ++ "/include -o" ++ SpecsDest ++ " " ++ File,
+ os:cmd("./priv/bin/specs_gen.escript " ++ Args)
end || File <- ErlFiles],
%% Return the complete list of XML files

0 comments on commit 000991b

Please sign in to comment.