diff --git a/lib/rake.rb b/lib/rake.rb index 6fad50670..955aedf66 100755 --- a/lib/rake.rb +++ b/lib/rake.rb @@ -29,7 +29,7 @@ # as a library via a require statement, but it can be distributed # independently as an application. -RAKEVERSION = '0.7.99.4' +RAKEVERSION = '0.7.99.5' require 'rbconfig' require 'ftools' @@ -582,7 +582,7 @@ def add_comment(comment) @full_comment = '' end @full_comment << comment - if @full_comment =~ /\A([^.]+?\.)/ + if @full_comment =~ /\A([^.]+?\.)( |$)/ @comment = $1 else @comment = @full_comment @@ -1641,8 +1641,7 @@ def synthesize_file_task(task_name) end # Resolve the arguments for a task/rule. Returns a triplet of - # [task_name, arg_list, dependencies_list]. - # TODO: Rework this to handle arguments + # [task_name, arg_name_list, prerequisites]. def resolve_args(args) task_name = args.shift arg_names = args #.map { |a| a.to_sym } diff --git a/rakelib/ruby19.rake b/rakelib/ruby19.rake index a08778c63..0b64bc5ad 100644 --- a/rakelib/ruby19.rake +++ b/rakelib/ruby19.rake @@ -66,14 +66,14 @@ namespace "ruby19" do Ruby19.run_tests(test_files) end - desc "Run the unit tests in Ruby 1.9" + desc "Run the functional tests in Ruby 1.9" task :functionals => [:env19] do test_files = FileList['test/functional.rb'] Ruby19.run_tests(test_files) end - desc "Run the unit tests in Ruby 1.9" - task :functionals => [:env19] do + desc "Run the all the tests in Ruby 1.9" + task :all => [:env19] do test_files = FileList['test/functional.rb', 'test/test_*.rb'] Ruby19.run_tests(test_files) end