Sha256: 1c407b9277284a62e04fa7283f4ffff0c63ab12d08883d9bd547b75b85706f91

Contents?: true

Size: 563 Bytes

Versions: 4

Compression:

Stored size: 563 Bytes

Contents

# frozen_string_literal: true

require "bundler/gem_tasks"
require "rspec/core/rake_task"
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.expand_path('../lib', __FILE__)
  config.pattern = 'spec/**/*_spec.rb'
  config.requires = ['spec_helper']
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gamefic-3.2.1 Rakefile
gamefic-3.2.0 Rakefile
gamefic-3.1.0 Rakefile
gamefic-3.0.0 Rakefile