rocksdb/arcanist_util/cpp_linter
Igor Canadi a03085b556 Fix linters on non-fb machines
Summary:
Our linters assume that clang-format is installed at /mnt/vol/engshare/admin/scripts/clang-format and flint is installed at /home/engshare/tools/flint. This makes them fail on non-fb machines. This change will:
* if clang-format is not on a specified path, it will try running generic clang-format. Linters will still fail if clang-format is not installed, but this shouldn't be a big issue, since it's pretty easy to install it.
* flint will not be run if /home/engshare/tools/flint is not present

Test Plan: Made a change on a mac machine. Ran `arc lint`. No failures observed.

Reviewers: aekmekji, yhchiang

Reviewed By: yhchiang

Subscribers: dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D44031
2015-08-11 11:36:12 -07:00
..
ArcanistCpplintLinter.php Integrate Jenkins with Phabricator 2015-04-07 11:56:29 -07:00
BaseDirectoryScopedFormatLinter.php Modernize RocksDB linters 2015-08-10 13:58:55 -07:00
cpplint.py Integrate Jenkins with Phabricator 2015-04-07 11:56:29 -07:00
FacebookHowtoevenLinter.php Modernize RocksDB linters 2015-08-10 13:58:55 -07:00
FbcodeClangFormatLinter.php Fix linters on non-fb machines 2015-08-11 11:36:12 -07:00
FbcodeCppLinter.php Fix linters on non-fb machines 2015-08-11 11:36:12 -07:00