Sha256: 659c15ae1589259e614b040e64da1ab47a9d13b793b41adc9e21ed82764dfe37

Contents?: true

Size: 732 Bytes

Versions: 5

Compression:

Stored size: 732 Bytes

Contents

# encoding: utf-8

require 'rubygems'
require 'rake'

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

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

begin
  gem 'rdoc', '~> 3.0'
  require 'rdoc/task'

  RDoc::Task.new do |rdoc|
    rdoc.title = 'trange_frange'
  end
rescue LoadError => e
  warn e.message
  warn "Run `gem install rdoc` to install 'rdoc/task'."
end
task :doc => :rdoc

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trange_frange-0.1.4 Rakefile
trange_frange-0.1.3 Rakefile
trange_frange-0.1.2 Rakefile
trange_frange-0.1.1 Rakefile
trange_frange-0.1.0 Rakefile