1
0
Fork 0
mirror of https://we.phorge.it/source/arcanist.git synced 2024-11-26 08:42:40 +01:00

Change lint_engine to lint.engine

Summary: Also unit_engine.

Test Plan: None.

Reviewers: epriestley

Reviewed By: epriestley

CC: aran, Korvin, aurelijus

Differential Revision: https://secure.phabricator.com/D4001
This commit is contained in:
vrana 2012-11-20 15:37:31 -08:00
parent dfdacc7f9a
commit ec8c214ddf
3 changed files with 4 additions and 4 deletions

View file

@ -3,12 +3,12 @@
/** /**
* Manages lint execution. When you run 'arc lint' or 'arc diff', Arcanist * Manages lint execution. When you run 'arc lint' or 'arc diff', Arcanist
* checks your .arcconfig to see if you have specified a lint engine in the * checks your .arcconfig to see if you have specified a lint engine in the
* key "lint_engine". The engine must extend this class. For example: * key "lint.engine". The engine must extend this class. For example:
* *
* lang=js * lang=js
* { * {
* // ... * // ...
* "lint_engine" : "ExampleLintEngine", * "lint.engine" : "ExampleLintEngine",
* // ... * // ...
* } * }
* *

View file

@ -3,7 +3,7 @@
/** /**
* PHPUnit wrapper * PHPUnit wrapper
* *
* To use, set unit_engine in .arcconfig, or use --engine flag * To use, set unit.engine in .arcconfig, or use --engine flag
* with arc unit. Currently supports only class & test files * with arc unit. Currently supports only class & test files
* (no directory support). * (no directory support).
* To use custom phpunit configuration, set phpunit_config in * To use custom phpunit configuration, set phpunit_config in

View file

@ -181,7 +181,7 @@ EOTEXT
$transaction, $transaction,
$repository); $repository);
$lint_engine = $working_copy->getConfig('lint_engine'); $lint_engine = $working_copy->getConfig('lint.engine');
if (!$lint_engine) { if (!$lint_engine) {
return 0; return 0;
} }