Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Allows clean build on Windows without make #51

Merged
merged 1 commit into from Oct 30, 2012
Jump to file or symbol
Failed to load files and symbols.
+2 −1
Split
View
@@ -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, "./clean_doc.sh"}]}.