Changeset View
Changeset View
Standalone View
Standalone View
src/lint/linter/ArcanistCpplintLinter.php
| Show All 19 Lines | public function getDefaultBinary() { | ||||
| if ($prefix) { | if ($prefix) { | ||||
| return $prefix.'/'.$bin; | return $prefix.'/'.$bin; | ||||
| } else { | } else { | ||||
| return $bin; | return $bin; | ||||
| } | } | ||||
| } | } | ||||
| public function getInstallInstructions() { | public function getInstallInstructions() { | ||||
| return pht('Install cpplint.py using `wget http://google-styleguide.'. | return pht( | ||||
| 'googlecode.com/svn/trunk/cpplint/cpplint.py`.'); | 'Install cpplint.py using `%s`.', | ||||
| 'wget http://google-styleguide.googlecode.com'. | |||||
| '/svn/trunk/cpplint/cpplint.py'); | |||||
| } | } | ||||
| protected function getDefaultFlags() { | protected function getDefaultFlags() { | ||||
| return $this->getDeprecatedConfiguration('lint.cpplint.options', array()); | return $this->getDeprecatedConfiguration('lint.cpplint.options', array()); | ||||
| } | } | ||||
| protected function parseLinterOutput($path, $err, $stdout, $stderr) { | protected function parseLinterOutput($path, $err, $stdout, $stderr) { | ||||
| $lines = explode("\n", $stderr); | $lines = explode("\n", $stderr); | ||||
| ▲ Show 20 Lines • Show All 45 Lines • Show Last 20 Lines | |||||