Sha256: 1c1f805b05032b0d79feab93d5a9a06986f4af19a3125af0926ceb9240286a7a

Contents?: true

Size: 742 Bytes

Versions: 3

Compression:

Stored size: 742 Bytes

Contents

require 'rubygems'
require 'rspec/core/rake_task'
require 'bundler'
require 'yard'
require 'version_bumper'

begin
  Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
  $stderr.puts e.message
  $stderr.puts "Run `bundle install` to install missing gems"
  exit e.status_code
end

desc "Run console; defaults to IRB='pry'"
task :console, :IRB do |t, args|
  irb = args[:IRB].nil?? 'pry' : args[:IRB]
  sh irb, "-r", "#{File.dirname(__FILE__)}/config/boot.rb"
end

desc "Run tests"
task :spec do
  RSpec::Core::RakeTask.new
end

desc "Build documentation"
task :yard do
  YARD::Rake::YardocTask.new do |t|
    t.files = ['lib/**/*.rb', 'bin/**/*.rb']
  end
end

desc "Runs 'rake spec yard'"
task :default => [:spec, :yard]

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
geohydra-0.3.3 Rakefile
geohydra-0.3.1 Rakefile
geohydra-0.3 Rakefile