Sha256: ff6c22588c981baee97352801f09925f317e7f441ec9e6a5c4bcf340da49c21f

Contents?: true

Size: 823 Bytes

Versions: 1

Compression:

Stored size: 823 Bytes

Contents

# -*- ruby -*-

$:.unshift(File.expand_path('../lib', __FILE__))
require 'gmail/version'

begin
  require 'ore/tasks'
  Ore::Tasks.new
rescue LoadError => e
  STDERR.puts e.message
  STDERR.puts "Run `gem install ore-tasks` to install 'ore/tasks'."
end

begin
  require 'rspec/core/rake_task'
  RSpec::Core::RakeTask.new(:spec)
rescue LoadError
  task :spec do
    abort 'Run `gem install rspec` to install RSpec'
  end
end

task :test => :spec
task :default => :test

begin 
  require 'metric_fu'
rescue LoadError => e
  STDERR.puts e.message
  STDERR.puts "Run `gem install metric_fu` to install Metric-Fu"
end

require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title = "Gmail for Ruby #{Gmail.version}"
  rdoc.rdoc_files.include('README*')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gmail-afurmanov-0.1.0 Rakefile