diff --git a/build/fbcode_builder/getdeps.py b/build/fbcode_builder/getdeps.py index 0c18d5c2eb9..7f824c0ebd4 100755 --- a/build/fbcode_builder/getdeps.py +++ b/build/fbcode_builder/getdeps.py @@ -467,6 +467,13 @@ def run(self, args): clean_dirs(opts) +@cmd("show-scratch-dir", "show the scratch dir") +class ShowScratchDirCmd(SubCmd): + def run(self, args): + opts = setup_build_options(args) + print(opts.scratch_dir) + + @cmd("show-build-dir", "print the build dir for a given project") class ShowBuildDirCmd(ProjectCmdBase): def run_project_cmd(self, args, loader, manifest):