From cc69b9c614c4b1d158552d2808bb0fa4d8cd1ee5 Mon Sep 17 00:00:00 2001 From: Tobie Langel Date: Mon, 7 Jan 2008 19:24:18 +0000 Subject: [PATCH] prototype: Add a description to :test and :dist rake tasks. --- CHANGELOG | 3 +++ Rakefile | 2 ++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG b/CHANGELOG index df69992..3329d7f 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,4 +1,7 @@ *SVN* + +* Add a description to :test and :dist rake tasks. [Christoph Sturm] + * Fix Selector.matchElements to allow for coma-separated selectors in Element#up/next/previous and Event#findElement. [Samuel Lebeau, Tobie Langel] * Test.Unit refactoring. Allow running multiple instances of Test.Unit.Runner on the same page. Allow rake to run specific testcases (e.g.: rake test BROWSERS=firefox TESTS=array TESTCASES=testUniq,test$w). Closes #10704, #10705, #10706. [nicwilliams, Tobie Langel] diff --git a/Rakefile b/Rakefile index 1525ddc..ed391c3 100644 --- a/Rakefile +++ b/Rakefile @@ -9,6 +9,7 @@ PROTOTYPE_VERSION = '1.6.0.1' task :default => [:dist, :package, :clean_package_source] +desc "Builds the distribution" task :dist do $:.unshift File.join(PROTOTYPE_ROOT, 'lib') require 'protodoc' @@ -32,6 +33,7 @@ Rake::PackageTask.new('prototype', PROTOTYPE_VERSION) do |package| ) end +desc "Builds the distribution, runs the JavaScript unit tests and collects their results." task :test => [:dist, :test_units] require 'test/lib/jstest'