Sha256: 4ef3909972f68320fa20cf71947fbc8ca66dbb6467736d150726c7310c34b013

Contents?: true

Size: 552 Bytes

Versions: 4

Compression:

Stored size: 552 Bytes

Contents

# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'opal/rspec/rake_task'

RSpec::Core::RakeTask.new(:spec) do |t|
  t.pattern = Dir.glob('spec/**/*_spec.rb')
  t.rspec_opts = '--format documentation'
  # t.rspec_opts << ' more options'
  #t.rcov = true
end
task :default => :spec

Opal::RSpec::RakeTask.new(:opal) do |_, config|
  Opal.append_path File.join(__dir__, 'lib')
  config.default_path = 'spec'
  config.pattern = 'spec/**/*_spec.rb'
  config.requires = ['opal_helper']
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamefic-3.6.0 Rakefile
gamefic-3.5.0 Rakefile
gamefic-3.4.0 Rakefile
gamefic-3.3.0 Rakefile