From e07c9bfd44caa831cf177f726642fe961a153269 Mon Sep 17 00:00:00 2001 From: Peter Lemenkov Date: Tue, 22 May 2012 15:06:36 +0400 Subject: [PATCH 9/9] No such type boolean in R12B Signed-off-by: Peter Lemenkov --- src/rebar_erlc_compiler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_erlc_compiler.erl b/src/rebar_erlc_compiler.erl index 6535324..4c77af1 100644 --- a/src/rebar_erlc_compiler.erl +++ b/src/rebar_erlc_compiler.erl @@ -233,7 +233,7 @@ inspect_epp(Epp, Source, Module, Includes) -> end. -spec needs_compile(Source::file:filename(), Target::file:filename(), - Hrls::[string()]) -> boolean(). + Hrls::[string()]) -> bool(). needs_compile(Source, Target, Hrls) -> TargetLastMod = filelib:last_modified(Target), lists:any(fun(I) -> TargetLastMod < filelib:last_modified(I) end, -- 1.7.10.2