Fix
This commit is contained in:
parent
a188fcacf4
commit
c03a4fb7df
|
@ -295,9 +295,10 @@ let compile_rule t ~all_targets_by_dir ?(allow_override=false) pre_rule =
|
||||||
Hashtbl.replace t.trace ~key:fn ~data:hash;
|
Hashtbl.replace t.trace ~key:fn ~data:hash;
|
||||||
acc || prev_hash <> hash)
|
acc || prev_hash <> hash)
|
||||||
in
|
in
|
||||||
if rule_changed || min_timestamp t targets < max_timestamp t all_deps then
|
if rule_changed || min_timestamp t targets < max_timestamp t all_deps then begin
|
||||||
|
List.iter targets ~f:(Hashtbl.remove t.timestamps);
|
||||||
Action.exec action
|
Action.exec action
|
||||||
else
|
end else
|
||||||
return ()
|
return ()
|
||||||
) in
|
) in
|
||||||
let rule =
|
let rule =
|
||||||
|
|
Loading…
Reference in New Issue