[xyphpexception commit] r20 - in trunk: . xyexception-contrib xyexception-docs

0 views
Skip to first unread message

codesite...@google.com

unread,
Apr 5, 2007, 1:51:54 PM4/5/07
to xyphpexce...@googlegroups.com
Author: xhochy
Date: Thu Apr 5 10:51:37 2007
New Revision: 20

Added:
trunk/Rakefile
trunk/xyexception-contrib/src_doc.rb
trunk/xyexception-contrib/test.rb
Removed:
trunk/xyexception-contrib/DOC_README
trunk/xyexception-contrib/makedoc.sh
trunk/xyexception-contrib/runtests.sh
Modified:
trunk/xyexception-docs/ (props changed)

Log:
Made rake as default build system

Added: trunk/Rakefile
==============================================================================
--- (empty file)
+++ trunk/Rakefile Thu Apr 5 10:51:37 2007
@@ -0,0 +1,14 @@
+#!/usr/bin/env ruby
+##########################################
+# Main Rakefile for XhochY PHP Exception #
+##########################################
+
+## Includes ##
+
+require 'xyexception-contrib/test.rb'
+require 'xyexception-contrib/src_doc.rb'
+
+## Tasks ##
+
+task :test => :xyexception_test
+task :default => [:test, :src_doc]
\ No newline at end of file

Added: trunk/xyexception-contrib/src_doc.rb
==============================================================================
--- (empty file)
+++ trunk/xyexception-contrib/src_doc.rb Thu Apr 5 10:51:37 2007
@@ -0,0 +1,23 @@
+#!/usr/bin/env ruby
+#######################################################
+# Tasks for creating the PHP-sourcecode documentation #
+#######################################################
+
+## Includes ##
+
+require 'rake/clean';
+
+## Tasks ##
+
+task :src_doc => 'xyexception-docs/elementindex.html'
+
+## File Tasks ##
+
+file 'xyexception-docs/elementindex.html' => FileList['xyexception-includes/*.php'] do
+ sh 'phpdoc -t xyexception-docs/ -f xyexception-includes/xyexception.exception.php'
+end
+
+## clean Task ##
+
+CLEAN.include('xyexception-docs/*')
+CLEAN.exclude('xyexception-docs/.svn')
\ No newline at end of file

Added: trunk/xyexception-contrib/test.rb
==============================================================================
--- (empty file)
+++ trunk/xyexception-contrib/test.rb Thu Apr 5 10:51:37 2007
@@ -0,0 +1,10 @@
+#!/usr/bin/env ruby
+##########################################
+# Tasks for testing XhochY PHP Exception #
+##########################################
+
+## Tasks ##
+
+task :xyexception_test do |t|
+ sh 'phpunit AllTests xyexception-tests/all.tests.php'
+end
\ No newline at end of file

Reply all
Reply to author
Forward
0 new messages