From b4d92f3729983f484a239f4abd2c62f7cfe784f3 Mon Sep 17 00:00:00 2001 From: Alex Hornby Date: Wed, 24 Nov 2021 09:59:04 -0800 Subject: [PATCH] add -v/--verbose option to see more output Summary: I found this useful to see where manifests resolve to when they are already built Reviewed By: HarveyHunt Differential Revision: D32644308 fbshipit-source-id: b796cb67f154177fbac1093290d97fe5aab6b20c --- build/fbcode_builder/getdeps.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index b3f9819c0..6120209c0 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -553,6 +553,8 @@ class BuildCmd(ProjectCmdBase): # Only populate the cache from continuous build runs if args.schedule_type == "continuous": cached_project.upload() + elif args.verbose: + print("found good %s" % built_marker) install_dirs.append(inst_dir) @@ -1029,6 +1031,13 @@ def parse_args(): action="store_true", default=False, ) + add_common_arg( + "-v", + "--verbose", + help="Print more output", + action="store_true", + default=False, + ) add_common_arg( "--lfs-path", help="Provide a parent directory for lfs when fbsource is unavailable",