Sha256: 850f11a802f7c0b1cef69de178084751f9af9e13a245ee98c537269afc1c9323

Contents?: true

Size: 337 Bytes

Versions: 4

Compression:

Stored size: 337 Bytes

Contents

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new

namespace :spec do
  desc "Run specs with Ruby warnings turned on"
  RSpec::Core::RakeTask.new(:warn) do |t|
    t.ruby_opts = %w(-w)
  end

  desc "Run specs for Tailor::Lexer"
  RSpec::Core::RakeTask.new(:lexer) do |t|
    t.pattern = "./spec/tailor/lexer_spec.rb"
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
tailor-1.0.1 tasks/spec.rake
tailor-1.0.0 tasks/spec.rake
tailor-1.0.0.alpha2 tasks/spec.rake
tailor-1.0.0.alpha tasks/spec.rake