Fix broken caching support for the Buck integration

Summary:public
It seems that the support for using the Buck cache with Infer has been brocken for a while.

Reviewed By: sblackshear

Differential Revision: D3079493

fb-gh-sync-id: fd92d1c
shipit-source-id: fd92d1c
master
Jeremy Dubreil 9 years ago committed by Facebook Github Bot 0
parent e34e369835
commit ff737edf93

@ -53,11 +53,6 @@ cmd = ['{0}'] + {1} + ['--', 'javac'] + sys.argv[1:]
subprocess.check_call(cmd)
"""
LOCAL_CONFIG = """\
[tools]
javac = %s
"""
def prepare_build(args):
"""Creates script that redirects javac calls to infer and a local buck

@ -186,7 +186,7 @@ class AnalyzerWithFrontendWrapper(analyze.AnalyzerWrapper):
if self.javac.args.version:
if self.args.buck:
key = self.args.analyzer
print(utils.infer_key(key), file=sys.stderr)
utils.stderr(utils.infer_key(key))
else:
return self.javac.run()
else:

Loading…
Cancel
Save