Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added descriptions to the rake tasks. (Thanks Nick Stenning!)

  • Loading branch information...
commit 066dae7c390571f369ed56cf1d096088f14dca80 1 parent ff45cee
Larry Karnowski authored
Showing with 6 additions and 2 deletions.
  1. +3 −1 CONTRIBUTORS
  2. +3 −1 tasks/javascript_testing_tasks.rake
View
4 CONTRIBUTORS
@@ -15,4 +15,6 @@ Contributors
- Documentation and bug fixes.
* Matt Wilson (hypomodern)
- Although we didn't use his patch directly, his ideas were a *great* help in
- the "deeply-nested test directories" feature. Thanks!
+ the "deeply-nested test directories" feature. Thanks!
+* Nick Stenning (nickstenning)
+ - For reminding us to add descriptions to our Rake tasks!
View
4 tasks/javascript_testing_tasks.rake
@@ -9,7 +9,7 @@ end
# Support Test::Unit & Test/Spec style
namespace :test do
- desc "Runs all the JavaScript tests and outputs the results"
+ desc "Runs all the JavaScript tests and outputs the results."
task :javascripts do
js_spec_dir = BlueRidge.find_javascript_spec_dir || (raise error_message_for_missing_spec_dir)
raise "JavaScript test failures" unless BlueRidge.run_specs_in_dir(js_spec_dir, ENV["TEST"])
@@ -32,6 +32,7 @@ end
namespace :js do
+ desc "Open the JavaScript fixtures to ease running in-browser tests."
task :fixtures do
js_spec_dir = BlueRidge.find_javascript_spec_dir || (raise error_message_for_missing_spec_dir)
fixture_dir = "#{js_spec_dir}/fixtures"
@@ -45,6 +46,7 @@ namespace :js do
end
end
+ desc "Runs the Rhino JavaScript shell."
task :shell do
rlwrap = `which rlwrap`.chomp
system("#{rlwrap} #{BlueRidge.rhino_command} -f #{BlueRidge.plugin_prefix}/lib/shell.js -f -")
Please sign in to comment.
Something went wrong with that request. Please try again.