File tree Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Expand file tree Collapse file tree 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 31
31
<contents >
32
32
<!-- The main contents is dynamically added by the package builder task -->
33
33
<dir name =" /" >
34
- <dir name =" TheSeer" >
35
- <dir name =" phpDox" >
36
- <file baseinstalldir =" /" name =" CLI.php" role =" php" />
37
- </dir >
38
- </dir >
39
34
<file baseinstalldir =" /" name =" phpdox.php" role =" script" >
40
- <tasks : replace from =" ( development) " to =" version" type =" package-info" />
35
+ <tasks : replace from =" % development% " to =" version" type =" package-info" />
41
36
<tasks : replace from =" /usr/bin/env php" to =" php_bin" type =" pear-config" />
42
37
<tasks : replace from =" @php_bin@" to =" php_bin" type =" pear-config" />
43
38
</file >
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ mkdir -p tmp/TheSeer/phpDox/templates
4
4
cp -r src/* tmp/TheSeer/phpDox
5
5
cp -r templates/* tmp/TheSeer/phpDox/templates
6
6
cp phpdox.bat tmp
7
+ cp phpdox.php tmp
7
8
cd tmp
8
9
php ../../DirectoryScanner/samples/pear-package.php ../package.xml . | xmllint --format - > package.xml
9
10
pear package
Original file line number Diff line number Diff line change 40
40
*
41
41
*/
42
42
43
- define ('PHPDOX_VERSION ' , '( development) ' );
43
+ define ('PHPDOX_VERSION ' , '% development% ' );
44
44
45
45
require 'TheSeer/DirectoryScanner/autoload.php ' ;
46
46
require 'TheSeer/fDOMDocument/autoload.php ' ;
49
49
require 'PHP/Timer.php ' ;
50
50
require 'pdepend/reflection/Autoloader.php ' ;
51
51
52
- if (PHPDOX_VERSION == ' (development) ' ) {
52
+ if (strpos ( PHPDOX_VERSION , ' %devel ' )=== 0 ) {
53
53
require __DIR__ . '/src/autoload.php ' ;
54
54
} else {
55
55
require 'TheSeer/phpDox/autoload.php ' ;
You can’t perform that action at this time.
0 commit comments