Sha256: bc1b74a68851767cf789361ad1d37d2776081fd84b88f68c8367cd9b18bcabd1

Contents?: true

Size: 391 Bytes

Versions: 10

Compression:

Stored size: 391 Bytes

Contents

desc "Run the javascript specs"
task teaspoon: :environment do
  require "teaspoon/console"

  options = {
    files: ENV["files"].nil? ? [] : ENV["files"].split(","),
    suite: ENV["suite"],
    coverage: ENV["coverage"],
    driver_options: ENV["driver_options"],
  }

  options.delete_if { |k, v| v.nil? }

  abort("rake teaspoon failed") if Teaspoon::Console.new(options).failures?
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
teaspoon-1.4.0 lib/tasks/teaspoon.rake
teaspoon-1.2.2 lib/tasks/teaspoon.rake
teaspoon-1.2.1 lib/tasks/teaspoon.rake
teaspoon-1.2.0 lib/tasks/teaspoon.rake
teaspoon-1.1.5 lib/tasks/teaspoon.rake
teaspoon-1.1.4 lib/tasks/teaspoon.rake
teaspoon-1.1.3 lib/tasks/teaspoon.rake
teaspoon-1.1.2 lib/tasks/teaspoon.rake
teaspoon-1.1.1 lib/tasks/teaspoon.rake
teaspoon-1.1.0 lib/tasks/teaspoon.rake