Sha256: fdde22edfe415ce967466d5ed2246718e633c93604d6de996136e73902439d43

Contents?: true

Size: 592 Bytes

Versions: 1

Compression:

Stored size: 592 Bytes

Contents

require 'rubygems'
require 'rake'

lib_dir = File.expand_path('lib',File.dirname(__FILE__))
$LOAD_PATH << lib_dir unless $LOAD_PATH.include?(lib_dir)

require 'ore/tasks'
Ore::Tasks.new

begin
  gem 'rspec', '~> 2.4.0'
  require 'rspec/core/rake_task'
  
  RSpec::Core::RakeTask.new
rescue LoadError
  task :spec do
    abort "Please run `gem install rspec` to install RSpec."
  end
end
task :test => :spec
task :default => :spec

begin
  require 'yard'
  YARD::Rake::YardocTask.new  
rescue LoadError => e
  task :yard do
    abort 'Please run `gem install yard` to install YARD.'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ore-tasks-0.4.1 Rakefile