summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorYury Gargay <yury.gargay@gmail.com>2016-02-12 18:29:25 +0600
committerYury Gargay <yury.gargay@gmail.com>2016-02-13 21:51:27 +0600
commit21f30d3abde6b762e0045687ed0e74682ee2d069 (patch)
tree823bb96381fb9459bef8c9d67dc730b4bc95fa06 /src
parent2c527cdf516c4e4b7fac387085939b36bf0196f0 (diff)
downloadrebar-21f30d3abde6b762e0045687ed0e74682ee2d069.tar.gz
Ensure ebin created for dia compiler
also add myself to THANKS
Diffstat (limited to 'src')
-rw-r--r--src/rebar_dia_compiler.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/rebar_dia_compiler.erl b/src/rebar_dia_compiler.erl
index 56d5189..a45cd55 100644
--- a/src/rebar_dia_compiler.erl
+++ b/src/rebar_dia_compiler.erl
@@ -88,6 +88,8 @@ info_help(Description) ->
compile_dia(Source, Target, Config) ->
ok = filelib:ensure_dir(Target),
ok = filelib:ensure_dir(filename:join("include", "dummy.hrl")),
+ ok = filelib:ensure_dir(filename:join("ebin", "dummy.beam")),
+ true = code:add_path(filename:absname("ebin")),
Opts = [{outdir, "src"}] ++ rebar_config:get(Config, dia_opts, []),
case diameter_dict_util:parse({path, Source}, []) of
{ok, Spec} ->