Browse files

added 1 level search for source files

  • Loading branch information...
1 parent 7008c5f commit 24ed633ea23a8e394a824d630eeb3037d1e84284 @daleharvey committed Aug 19, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/erldocs.erl
View
3 src/erldocs.erl
@@ -126,7 +126,8 @@ gen_docsrc(AppDir) ->
AppDir ++ "/doc/src/" ++ bname(File, ".erl") ++ ".xml"
catch
_:_ -> ignore
- end || File <- filelib:wildcard(AppDir ++ "/src/*.erl") ],
+ end || File <- filelib:wildcard(AppDir ++ "/*.erl") ++
+ filelib:wildcard(AppDir ++ "/src/*.erl")],
[ File || File <- Files, File =/= ignore ].

0 comments on commit 24ed633

Please sign in to comment.