[infer][java] no longer generate the itermediate report.csv for Java Buck projects

Summary: Those files are not use to create the final JSON report

Reviewed By: jvillard

Differential Revision: D4714548

fbshipit-source-id: 3ba9a3b
master
Jeremy Dubreil 8 years ago committed by Facebook Github Bot
parent 538b07db2d
commit 34106a2056

@ -298,12 +298,13 @@ let execute_analyze () =
run_parallel_analysis () run_parallel_analysis ()
let report () = let report () =
let report_csv = Some (Config.results_dir ^/ "report.csv") in let report_csv =
if Config.buck_cache_mode then None else Some (Config.results_dir ^/ "report.csv") in
let report_json = Some (Config.results_dir ^/ "report.json") in let report_json = Some (Config.results_dir ^/ "report.json") in
InferPrint.main ~report_csv ~report_json ; InferPrint.main ~report_csv ~report_json ;
(* Post-process the report according to the user config. By default, calls report.py to create a (* Post-process the report according to the user config. By default, calls report.py to create a
human-readable report. *) human-readable report. *)
match Config.buck, Config.report_hook with match Config.buck_cache_mode, Config.report_hook with
| true, _ (* do not bother calling the report hook when called from within Buck *) | true, _ (* do not bother calling the report hook when called from within Buck *)
| false, None -> | false, None ->
() ()

Loading…
Cancel
Save