diff options
author | knut <> | 2006-02-21 20:24:03 +0000 |
---|---|---|
committer | knut <> | 2006-02-21 20:24:03 +0000 |
commit | 1818350f45c4819db59ae6a1e95103aaf6190fd9 (patch) | |
tree | 63a89a3f51af0fb099c3b1139bda980817e9f78f /buildscripts/phing/tasks/PhpLintTask.php | |
parent | 59bdcf4d01291fb50e5aa43afcde4ac34df829e4 (diff) |
A lot of updates to the build file
* PEAR packaging removed for new implementation using package2.xml
* Created 'dist' as default target which build everything
Diffstat (limited to 'buildscripts/phing/tasks/PhpLintTask.php')
-rw-r--r-- | buildscripts/phing/tasks/PhpLintTask.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/buildscripts/phing/tasks/PhpLintTask.php b/buildscripts/phing/tasks/PhpLintTask.php index 6087f6a1..63ae6dde 100644 --- a/buildscripts/phing/tasks/PhpLintTask.php +++ b/buildscripts/phing/tasks/PhpLintTask.php @@ -41,8 +41,9 @@ class PhpLintTask extends Task { foreach($this->filesets as $fs) { $ds = $fs->getDirectoryScanner($project); $files = $ds->getIncludedFiles(); + $dir = $fs->getDir($this->project)->getPath(); foreach($files as $file) { - $this->lint($file); + $this->lint($dir.DIRECTORY_SEPARATOR.$file); } } } |