Browse Source

run onAfterGenerate filters even in --no-output mode

Simon Krajewski 10 years ago
parent
commit
0e9d13b79e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.ml

+ 1 - 1
main.ml

@@ -1557,8 +1557,8 @@ try
 		);
 		);
 	end;
 	end;
 	Sys.catch_break false;
 	Sys.catch_break false;
+	List.iter (fun f -> f()) (List.rev com.final_filters);
 	if not !no_output then begin
 	if not !no_output then begin
-		List.iter (fun f -> f()) (List.rev com.final_filters);
 		List.iter (fun c ->
 		List.iter (fun c ->
 			let r = run_command ctx c in
 			let r = run_command ctx c in
 			if r <> 0 then failwith ("Command failed with error " ^ string_of_int r)
 			if r <> 0 then failwith ("Command failed with error " ^ string_of_int r)