mirror of
https://github.com/facebook/rocksdb.git
synced 2024-11-30 04:41:49 +00:00
cf8adc971e
Summary: Allow arcanist_util to work with both new and old arc versions. The diff is based on Adam Retter's pull request https://github.com/facebook/rocksdb/pull/1168 Many thanks to Adam to initiate this work Test Plan: run arc lint and arc diff using different arc versions Reviewers: sdong, IslamAbdelRahman, kradhakrishnan, andrewkr, adamretter, igor Reviewed By: adamretter Subscribers: andrewkr, dhruba, leveldb Differential Revision: https://reviews.facebook.net/D59697
72 lines
3 KiB
PHP
72 lines
3 KiB
PHP
<?php
|
|
|
|
/**
|
|
* This file is automatically generated. Use 'arc liberate' to rebuild it.
|
|
* @generated
|
|
* @phutil-library-version 2
|
|
*/
|
|
|
|
if (class_exists('ArcanistWorkflow')) {
|
|
phutil_register_library_map(array(
|
|
'__library_version__' => 2,
|
|
'class' =>
|
|
array(
|
|
'ArcanistCpplintLinter' => 'cpp_linter/ArcanistCpplintLinter.php',
|
|
'BaseDirectoryScopedFormatLinter' => 'cpp_linter/BaseDirectoryScopedFormatLinter.php',
|
|
'FacebookArcanistConfiguration' => 'config/FacebookArcanistConfiguration.php',
|
|
'FacebookFbcodeLintEngine' => 'lint_engine/FacebookFbcodeLintEngine.php',
|
|
'FacebookFbcodeUnitTestEngine' => 'unit_engine/FacebookFbcodeUnitTestEngine.php',
|
|
'FacebookHowtoevenLintEngine' => 'lint_engine/FacebookHowtoevenLintEngine.php',
|
|
'FacebookHowtoevenLinter' => 'cpp_linter/FacebookHowtoevenLinter.php',
|
|
'FbcodeClangFormatLinter' => 'cpp_linter/FbcodeClangFormatLinter.php',
|
|
'FbcodeCppLinter' => 'cpp_linter/FbcodeCppLinter.php',
|
|
),
|
|
'function' =>
|
|
array(
|
|
),
|
|
'xmap' =>
|
|
array(
|
|
'ArcanistCpplintLinter' => 'ArcanistLinter',
|
|
'BaseDirectoryScopedFormatLinter' => 'ArcanistLinter',
|
|
'FacebookArcanistConfiguration' => 'ArcanistConfiguration',
|
|
'FacebookFbcodeLintEngine' => 'ArcanistLintEngine',
|
|
'FacebookFbcodeUnitTestEngine' => 'ArcanistBaseUnitTestEngine',
|
|
'FacebookHowtoevenLintEngine' => 'ArcanistLintEngine',
|
|
'FacebookHowtoevenLinter' => 'ArcanistLinter',
|
|
'FbcodeClangFormatLinter' => 'BaseDirectoryScopedFormatLinter',
|
|
'FbcodeCppLinter' => 'ArcanistLinter',
|
|
),
|
|
));
|
|
} else {
|
|
phutil_register_library_map(array(
|
|
'__library_version__' => 2,
|
|
'class' =>
|
|
array(
|
|
'ArcanistCpplintLinter' => 'cpp_linter/ArcanistCpplintLinter.php',
|
|
'BaseDirectoryScopedFormatLinter' => 'cpp_linter/BaseDirectoryScopedFormatLinter.php',
|
|
'FacebookArcanistConfiguration' => 'config/FacebookOldArcanistConfiguration.php',
|
|
'FacebookFbcodeLintEngine' => 'lint_engine/FacebookFbcodeLintEngine.php',
|
|
'FacebookFbcodeUnitTestEngine' => 'unit_engine/FacebookFbcodeUnitTestEngine.php',
|
|
'FacebookHowtoevenLintEngine' => 'lint_engine/FacebookHowtoevenLintEngine.php',
|
|
'FacebookHowtoevenLinter' => 'cpp_linter/FacebookHowtoevenLinter.php',
|
|
'FbcodeClangFormatLinter' => 'cpp_linter/FbcodeClangFormatLinter.php',
|
|
'FbcodeCppLinter' => 'cpp_linter/FbcodeCppLinter.php',
|
|
),
|
|
'function' =>
|
|
array(
|
|
),
|
|
'xmap' =>
|
|
array(
|
|
'ArcanistCpplintLinter' => 'ArcanistLinter',
|
|
'BaseDirectoryScopedFormatLinter' => 'ArcanistLinter',
|
|
'FacebookArcanistConfiguration' => 'ArcanistConfiguration',
|
|
'FacebookFbcodeLintEngine' => 'ArcanistLintEngine',
|
|
'FacebookFbcodeUnitTestEngine' => 'ArcanistBaseUnitTestEngine',
|
|
'FacebookHowtoevenLintEngine' => 'ArcanistLintEngine',
|
|
'FacebookHowtoevenLinter' => 'ArcanistLinter',
|
|
'FbcodeClangFormatLinter' => 'BaseDirectoryScopedFormatLinter',
|
|
'FbcodeCppLinter' => 'ArcanistLinter',
|
|
),
|
|
));
|
|
}
|