Skip to content
Browse files

Merge pull request #51 from dch/master

Allows clean build on Windows without make
  • Loading branch information...
2 parents df4af24 + 7cf6267 commit 43a576f8b930f9a9d472e9fd5955dd0b0469bf4a @kostis kostis committed Oct 30, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 rebar.config
3 rebar.config
@@ -34,5 +34,6 @@
warn_missing_spec, warn_untyped_record]}.
{dialyzer_opts, [{warnings, [unmatched_returns]}]}.
-{pre_hooks, [{compile, "make include/compile_flags.hrl"}]}.
+{pre_hooks, [{"(linux|bsd|darwin|solaris)", compile, "make include/compile_flags.hrl"},
+ {"win32", compile, "escript.exe write_compile_flags include/compile_flags.hrl"}]}.
{post_hooks, [{clean, "./"}]}.

0 comments on commit 43a576f

Please sign in to comment.
Something went wrong with that request. Please try again.