mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
fbcode_builder: getdeps: add sandcastle
subcommand
Summary: This command schedules a facebook specific sandcastle job for the current commit in your repo for each of the platforms we have support for in sandcastle. You can use `--dry-run` to have it print out the job specs. To support this, I've moved around some of the support utilities to make it easier to import them. Reviewed By: simpkins Differential Revision: D14710330 fbshipit-source-id: fb1e2a2ce78e52894291159514977da97028b37f
This commit is contained in:
committed by
Facebook Github Bot
parent
ec06ce8fa5
commit
080f2c565f
@@ -22,6 +22,14 @@ from getdeps.platform import HostType, context_from_host_tuple
|
|||||||
from getdeps.subcmd import SubCmd, add_subcommands, cmd
|
from getdeps.subcmd import SubCmd, add_subcommands, cmd
|
||||||
|
|
||||||
|
|
||||||
|
try:
|
||||||
|
import getdeps.facebook # noqa: F401
|
||||||
|
except ImportError:
|
||||||
|
# we don't ship the facebook specific subdir,
|
||||||
|
# so allow that to fail silently
|
||||||
|
pass
|
||||||
|
|
||||||
|
|
||||||
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "getdeps"))
|
sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "getdeps"))
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user