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
main
Siying Dong 8 years ago committed by Facebook Github Bot
parent f289d9f4ac
commit 71d2496afc
  1. 7
      arcanist_util/config/FacebookArcanistConfiguration.php
  2. 7
      arcanist_util/config/FacebookOldArcanistConfiguration.php

@ -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,

@ -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,

Loading…
Cancel
Save