Sha256: c9df94ca5c6de5a118db44c5a147c9e34c03cecdb2654a9962b1212a19bfcf7a
Contents?: true
Size: 409 Bytes
Versions: 8
Compression:
Stored size: 409 Bytes
Contents
require 'rake' require 'opal/rspec/runner' module Opal module RSpec class RakeTask include Rake::DSL DEFAULT_NAME = 'spec:opal' attr_reader :rake_task def initialize(name = DEFAULT_NAME, &block) runner = ::Opal::RSpec::Runner.new(&block) desc 'Run Opal specs' @rake_task = task name do exit runner.run end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems