[ap4r-devel] [276] branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r: add ap4r rake file.

shino at rubyforge.org shino at rubyforge.org
Tue Aug 28 23:07:25 EDT 2007


Revision: 276
Author:   shino
Date:     2007-08-28 23:07:25 -0400 (Tue, 28 Aug 2007)

Log Message:
-----------
add ap4r rake file.
Now it has only one task "test:async"

Added Paths:
-----------
    branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/tasks/
    branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/tasks/ap4r.rake

Added: branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/tasks/ap4r.rake
===================================================================
--- branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/tasks/ap4r.rake	                        (rev 0)
+++ branches/200709_gihyo/async_shop/as_rails/vendor/plugins/ap4r/tasks/ap4r.rake	2007-08-29 03:07:25 UTC (rev 276)
@@ -0,0 +1,8 @@
+namespace :test do
+  Rake::TestTask.new(:async => "db:test:prepare") do |t|
+    t.libs << "test"
+    t.pattern = 'test/async/**/*_test.rb'
+    t.verbose = true
+  end
+  Rake::Task['test:async'].comment = "Run the unit tests in test/async"
+end




More information about the ap4r-devel mailing list