mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-07 07:02:53 +03:00
opensource: getdeps: Add show-scratch-dir command
Summary: X-link: https://github.com/facebookincubator/velox/pull/7446 Add a new command to show the location of the scratch dir that getdeps will use. Reviewed By: xavierd Differential Revision: D51027807 fbshipit-source-id: 80a7cfc04320002588d5ec8964fc88914771c6c7
This commit is contained in:
committed by
Facebook GitHub Bot
parent
edde9af3d7
commit
044fe10bc1
@@ -467,6 +467,13 @@ class CleanCmd(SubCmd):
|
||||
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):
|
||||
|
Reference in New Issue
Block a user