From 772d9ed697dbaf6402e0fa71a2c66cfa86328b0c Mon Sep 17 00:00:00 2001 From: ragaskar Date: Wed, 25 Nov 2009 19:55:50 -0800 Subject: [PATCH] Kill tasks --- tasks/jasmine.rake | 32 -------------------------------- 1 file changed, 32 deletions(-) delete mode 100644 tasks/jasmine.rake diff --git a/tasks/jasmine.rake b/tasks/jasmine.rake deleted file mode 100644 index 8ba1462..0000000 --- a/tasks/jasmine.rake +++ /dev/null @@ -1,32 +0,0 @@ -require File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "jasmine_helper.rb")) - -def start_jasmine_server - require File.expand_path(File.join(JasmineHelper.root, "contrib/ruby/jasmine_spec_builder")) - - puts "your tests are here:" - puts " http://localhost:8888/run.html" - - Jasmine::SimpleServer.start(8888, - lambda { JasmineHelper.spec_file_urls }, - JasmineHelper.dir_mappings, - :spec_helpers => lambda { JasmineHelper.spec_helpers }) -end - -namespace :jasmine do - desc "Start jasmine server" - task :server do - start_jasmine_server - end - - desc "Run continuous integration tests" - task :ci do - require "spec" - require 'spec/rake/spectask' - ENV["RAILS_ROOT"] = RAILS_ROOT - Spec::Rake::SpecTask.new(:lambda_ci) do |t| - t.spec_opts = ["--color", "--format", "specdoc"] - t.spec_files = [File.expand_path(File.join(File.dirname(__FILE__), "..", "lib", "jasmine_spec.rb"))] - end - Rake::Task[:lambda_ci].invoke - end -end