Skip to content
Browse files

Don't recompile the PropEr over and over

Avoids recompilation of all of the PropEr files over and over
again if PropEr is used as Rebar dependency.
  • Loading branch information...
1 parent 24e4fad commit 7913cd42cd612159f38912990d8f77e5721ca229 @goj goj committed Feb 14, 2012
Showing with 4 additions and 1 deletion.
  1. +3 −0 Makefile
  2. +1 −1 rebar.config
View
3 Makefile
@@ -26,6 +26,9 @@ default: compile
all: compile doc
+include/compile_flags.hrl:
+ ./write_compile_flags $@
+
compile:
./rebar compile
View
2 rebar.config
@@ -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.
Something went wrong with that request. Please try again.