Skip to content

Commit

Permalink
Don't recompile the PropEr over and over
Browse files Browse the repository at this point in the history
Avoids recompilation of all of the PropEr files over and over
again if PropEr is used as Rebar dependency.
  • Loading branch information
Krzysztof Goj committed Feb 14, 2012
1 parent 24e4fad commit 7913cd4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions Makefile
Expand Up @@ -26,6 +26,9 @@ default: compile

all: compile doc

include/compile_flags.hrl:
./write_compile_flags $@

compile:
./rebar compile

Expand Down
2 changes: 1 addition & 1 deletion rebar.config
Expand Up @@ -34,5 +34,5 @@
warn_missing_spec, warn_untyped_record]}.
{dialyzer_opts, [{warnings,[unmatched_returns]}]}.

{pre_hooks, [{compile,"./write_compile_flags include/compile_flags.hrl"}]}.
{pre_hooks, [{compile,"make include/compile_flags.hrl"}]}.
{post_hooks, [{clean,"./clean_doc.sh"}]}.

0 comments on commit 7913cd4

Please sign in to comment.