Sha256: ae02c5409ac8ef90d4feb1210dbc8fef0c5d492faf5d9331729360d10eb84d86

Contents?: true

Size: 404 Bytes

Versions: 5

Compression:

Stored size: 404 Bytes

Contents

require 'rake'

begin
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new('spec') do |t|
    t.rspec_opts = ["-fd", "-c"]
    t.ruby_opts = ["-Ispec,lib"]
    t.pattern = 'spec/**/*_spec.rb'
  end

rescue LoadError
  desc 'Spec rake task not available'
  task :spec do
    abort 'Spec rake task is not available. Be sure to install rspec as a gem or plugin'
  end
end

task :default => [:spec]

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
hue-lib-0.7.1 Rakefile
hue-cli-0.1.0 Rakefile
hue-lib-0.7.0 Rakefile
hue-lib-0.6.0 Rakefile
hue-lib-0.5.0 Rakefile