From 3d4965765cd47df7f3f9d3db4cbb117936b1c939 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Fri, 3 Mar 2006 03:19:37 +0000 Subject: Fix a ton of issues with AWS (yes, Kent saved it from being unbundled in 1.1) #4038 [Kent Sibilev] git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3750 5ecf4fe2-1ee6-0310-87b1-e25e094e27de --- actionwebservice/Rakefile | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'actionwebservice/Rakefile') diff --git a/actionwebservice/Rakefile b/actionwebservice/Rakefile index e128d1198a..23e1dc2cd5 100644 --- a/actionwebservice/Rakefile +++ b/actionwebservice/Rakefile @@ -30,6 +30,14 @@ Rake::TestTask.new { |t| t.verbose = true } +SCHEMA_PATH = File.join(File.dirname(__FILE__), *%w(test fixtures db_definitions)) + +desc 'Build the MySQL test database' +task :build_database do + %x( mysqladmin create activewebservice_unittest ) + %x( mysql activewebservice_unittest < #{File.join(SCHEMA_PATH, 'mysql.sql')} ) +end + # Generate the RDoc documentation Rake::RDocTask.new { |rdoc| -- cgit v1.2.3