Permalink
Browse files

Added some task to the Rakefile and deleted not necesary files from t…

…he repository
  • Loading branch information...
jespino committed May 29, 2010
1 parent 0c87889 commit d67b35671df1ec1762341566d601f6d09fd57ec2
Showing with 11 additions and 1,591 deletions.
  1. +3 −3 Doc_PHP_Beautifier.ini
  2. BIN PhpDoc_data.lnk
  3. +8 −0 Rakefile
  4. +0 −26 bug_4151.php
  5. +0 −9 copia_cvs
  6. +0 −6 copia_cvs.bat
  7. +0 −5 correr_tests.bat
  8. +0 −1 demo.php
  9. +0 −1 doc.bat
  10. +0 −1,517 log.txt
  11. +0 −6 pack_beaut
  12. +0 −7 pack_beaut.bat
  13. +0 −1 test.bat
  14. +0 −9 test.php
View
@@ -52,7 +52,7 @@ pear = on
;; where should the documentation be written?
;; legal values: a legal path
-target = /home/cdx/dev/beautifyphp/site/docs
+target = site/docs
;; Which files should be parsed out as special documentation files, such as README,
;; INSTALL and CHANGELOG? This overrides the default files found in
@@ -65,13 +65,13 @@ readmeinstallchangelog = README, INSTALL, CHANGELOG, NEWS, FAQ, LICENSE
;; comma-separated list of files to parse
;; legal values: paths separated by commas
-filename = /usr/share/php/PHP/Beautifier.php
+filename = Beautifier.php
;; comma-separated list of directories to parse
;; legal values: directory paths separated by commas
;directory = /path1,/path2,.,..,subdirectory
;directory = /home/jeichorn/cvs/pear
-directory = /usr/share/php/PHP/Beautifier,/home/cdx/dev/beautifyphp/tutorials
+directory =Beautifier,tutorials
;; template base directory (the equivalent directory of <installdir>/phpDocumentor)
;templatebase = /path/to/my/templates
View
Binary file not shown.
View
@@ -23,3 +23,11 @@ end
task :reinstall => [:uninstall, :install] do
end
+
+task :doc do
+ system "phpdoc -c Doc_PHP_Beautifier.ini"
+end
+
+task :package do
+ system "pear package package2.xml"
+end
View
@@ -1,26 +0,0 @@
-<?php
-require_once 'PHP/Beautifier.php';
-
-$php = new PHP_Beautifier();
-$php->addFilter('Pear',array('add_header'=>'pear'));
-$php->addFilter('ArrayNested');
-$php->addFilter('IndentStyles',array('style'=>'Allman'));
-
-
-$php->setInputFile('test.php');
-$php->setOutputFile('test.php.beautified');
-
-$php->setIndentNumber(4);
-
-$php->process();
-echo "<p>Finished</p>\n";
-$php->save();
-?>
-
-
-<?php
-$bye = "Goodbye";
-echo "Curly {Hello}.";
-echo "Curly {{$bye}}.";
-echo "Curly {". $bye ."}.";
-?>
View
@@ -1,9 +0,0 @@
-#!/bin/bash
-DESTINO=/home/cdx/cvs/PHP_Beautifier
-cp -urp *.php $DESTINO
-cp -urp Beautifier/* $DESTINO/Beautifier
-cp -urp tutorials/* $DESTINO/tutorials
-cp -urp scripts/* $DESTINO/scripts
-cp -urp licenses/* $DESTINO/licenses
-cp -urp package.xml $DESTINO/
-cp -urp tests/* $DESTINO/tests
View
@@ -1,6 +0,0 @@
-SET DESTINO=I:\cvs\PHP_Beautifier
-xcopy /S /Y *.php %DESTINO%
-xcopy /S /Y tutorials\* %DESTINO%\tutorials\
-xcopy /S /Y scripts\* %DESTINO%\scripts\
-xcopy /S /Y licenses\* %DESTINO%\licenses\
-copy package.xml %DESTINO%\
View
@@ -1,5 +0,0 @@
-@ECHO OFF
-j:\php5\php.exe J:/sites/PHP_Beautifier/tests/Beautifier.phpt
-j:\php5\php.exe J:/sites/PHP_Beautifier/tests/Beautifier_Bugs.phpt
-j:\php5\php.exe J:/sites/PHP_Beautifier/tests/Beautifier_Common.phpt
-j:\php5\php.exe J:/sites/PHP_Beautifier/tests/Beautifier_StreamWrapper.phpt
View
@@ -1 +0,0 @@
-<HTML>
View
@@ -1 +0,0 @@
-j:\php5\php.exe "j:\php\phpdoc" -c J:\php\pear\data\PhpDocumentor\user\PHP_Beautifier.ini
View
1,517 log.txt

Large diffs are not rendered by default.

Oops, something went wrong.
View
@@ -1,6 +0,0 @@
-rm *.tgz &> /dev/null
-. /etc/profile
-pear package
-pear uninstall PHP_Beautifier
-pear install -f PHP_Beautifier-0.1.9.tgz
-echo 'Ok'
View
@@ -1,7 +0,0 @@
-@echo off
-SET SCRIPT=j:\php\pear\scripts
-del *.tgz
-j:\php\php.exe -C -d output_buffering=1 -f %SCRIPT%\pear.in -- package j:/sites/PHP_Beautifier/package.xml
-j:\php\php.exe -C -d output_buffering=1 -f %SCRIPT%\pear.in -- uninstall PHP_Beautifier
-j:\php\php.exe -C -d output_buffering=1 -f %SCRIPT%\pear.in -- install -f PHP_Beautifier-0.0.8.tgz
-@echo Ok
View
@@ -1 +0,0 @@
-@j:\php5\php -f J:\sites\PHP_Beautifier\scripts\php_beautifier -- %1 %2 %3 %4 %5 %6 %7 %8 %9
View
@@ -1,9 +0,0 @@
-<?php
-error_reporting(E_ALL|E_STRICT);
-require_once './Beautifier.php';
- $oBeaut = new PHP_Beautifier();
- $oBeaut->addFilter("Pear");
- $oBeaut->setInputFile('bug_4151.php');
- $oBeaut->process();
- $oBeaut->show();
-?>

0 comments on commit d67b356

Please sign in to comment.