buck integration, no lonfer bail when .buckconfig is missing

Reviewed By: ngorogiannis

Differential Revision: D16687568

fbshipit-source-id: 67415ac9e
master
Martin Trojer 5 years ago committed by Facebook Github Bot
parent 8c4be65754
commit 6f7cd25b3a

@ -211,11 +211,6 @@ class BuckAnalyzer:
shutil.move(os.path.join(config.BUCK_OUT, filename), tmp) shutil.move(os.path.join(config.BUCK_OUT, filename), tmp)
def _run_buck_with_flavors(self): def _run_buck_with_flavors(self):
# TODO: Use buck to identify the project's root folder
if not os.path.isfile('.buckconfig'):
print('Please run this command from the folder where .buckconfig '
'is located')
return os.EX_USAGE
env_vars = utils.read_env() env_vars = utils.read_env()
infer_args = env_vars['INFER_ARGS'] infer_args = env_vars['INFER_ARGS']
if infer_args != '': if infer_args != '':

Loading…
Cancel
Save