Sha256: 949302eca4210a052b2fd3322a34524e29b541e54c02ca054812ad949f4359e4

Contents?: true

Size: 667 Bytes

Versions: 2

Compression:

Stored size: 667 Bytes

Contents

require 'rubygems'
require 'rake'

begin
  gem 'rubygems-tasks', '~> 0.1'
  require 'rubygems/tasks'

  Gem::Tasks.new
rescue LoadError => e
  warn e.message
  warn "Run `gem install rubygems-tasks` to install 'rubygems/tasks'."
end

begin
  gem 'rspec', '~> 2.4'
  require 'rspec/core/rake_task'

  RSpec::Core::RakeTask.new
rescue LoadError => e
  task :spec do
    abort "Please run `gem install rspec` to install RSpec."
  end
end
task :test    => :spec
task :default => :spec

begin
  gem 'yard', '~> 0.7'
  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

2 entries across 2 versions & 1 rubygems

Version Path
rprogram-0.3.2 Rakefile
rprogram-0.3.1 Rakefile