diff options
author | Dave Smith <dizzyd@dizzyd.com> | 2012-06-04 10:36:28 -0600 |
---|---|---|
committer | Dave Smith <dizzyd@dizzyd.com> | 2012-06-08 07:06:15 -0600 |
commit | c86c99940d06f2c77e449b37ab261d8163486e94 (patch) | |
tree | 7aa96d892a20a5eb81a5ae43c18730079f68b217 /src/rebar_erlc_compiler.erl | |
parent | c122eeec7561e74694184b5ffaa338cf962a374c (diff) |
Remove ?FAIL in favor of ?ABORT
Diffstat (limited to 'src/rebar_erlc_compiler.erl')
-rw-r--r-- | src/rebar_erlc_compiler.erl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index 6535324..dc700e1 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -261,7 +261,7 @@ internal_erl_compile(Source, Config, Outdir, ErlOpts) -> {ok, _} -> ok; _ -> - ?FAIL + ?ABORT end; false -> skipped @@ -282,7 +282,7 @@ compile_mib(Source, Target, Config) -> rebar_file_utils:mv(Hrl_filename, "include"), ok; {error, compilation_failed} -> - ?FAIL + ?ABORT end. -spec compile_xrl(Source::file:filename(), Target::file:filename(), @@ -306,7 +306,7 @@ compile_xrl_yrl(Source, Target, Opts, Mod) -> {ok, _} -> ok; _X -> - ?FAIL + ?ABORT end; false -> skipped |