Fix arc setting for Facebook internal tools

Summary: Closes https://github.com/facebook/rocksdb/pull/1834

Differential Revision: D4503469

Pulled By: siying

fbshipit-source-id: 761bfa6
This commit is contained in:
Siying Dong 2017-02-02 13:18:53 -08:00 committed by Facebook Github Bot
parent f289d9f4ac
commit 71d2496afc
2 changed files with 14 additions and 0 deletions

View File

@ -9,6 +9,13 @@ require('RocksDBCommonHelper.php');
define("DIFF_COMMAND", "diff"); define("DIFF_COMMAND", "diff");
class FacebookArcanistConfiguration extends ArcanistConfiguration { class FacebookArcanistConfiguration extends ArcanistConfiguration {
public function getCustomArgumentsForCommand($command) {
if ($command == "land") {
return array(
'async' => array('help' => 'Just to make tools happy'));
}
return array();
}
public function didRunWorkflow($command, public function didRunWorkflow($command,
ArcanistWorkflow $workflow, ArcanistWorkflow $workflow,

View File

@ -9,6 +9,13 @@ require('RocksDBCommonHelper.php');
define("DIFF_COMMAND", "diff"); define("DIFF_COMMAND", "diff");
class FacebookArcanistConfiguration extends ArcanistConfiguration { class FacebookArcanistConfiguration extends ArcanistConfiguration {
public function getCustomArgumentsForCommand($command) {
if ($command == "land") {
return array(
'async' => array('help' => 'Just to make tools happy'));
}
return array();
}
public function didRunWorkflow($command, public function didRunWorkflow($command,
ArcanistBaseWorkflow $workflow, ArcanistBaseWorkflow $workflow,