|
Revision 9924, 0.8 kB
(checked in by fabien, 5 years ago)
|
added debug output from Phing when using -t (closes #2608)
|
- Property svn:mime-type set to
text/x-php
- Property svn:eol-style set to
native
- Property svn:keywords set to
Id
|
| Line | |
|---|
| 1 |
<?php |
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
require_once('phing/Phing.php'); |
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
class sfPhing extends Phing |
|---|
| 20 |
{ |
|---|
| 21 |
function printVersion() |
|---|
| 22 |
{ |
|---|
| 23 |
print(self::getPhingVersion()."\n"); |
|---|
| 24 |
} |
|---|
| 25 |
|
|---|
| 26 |
function getPhingVersion() |
|---|
| 27 |
{ |
|---|
| 28 |
return 'sfPhing'; |
|---|
| 29 |
} |
|---|
| 30 |
|
|---|
| 31 |
public static function shutdown($exitcode = 0) |
|---|
| 32 |
{ |
|---|
| 33 |
self::getTimer()->stop(); |
|---|
| 34 |
|
|---|
| 35 |
throw new Exception(sprintf('Problem executing Phing task (%s).', $exitcode)); |
|---|
| 36 |
} |
|---|
| 37 |
} |
|---|
| 38 |
|
|---|