Sha256: befc169efc4a5e87595c55547b8360e299b4c82a769e7c2467cfedd1e616b056
Contents?: true
Size: 1.05 KB
Versions: 3
Compression:
Stored size: 1.05 KB
Contents
# -*- ruby -*- $:.unshift(File.expand_path('../lib', __FILE__)) require 'gmail/version' require 'rspec/core/rake_task' require 'rake/rdoctask' RSpec::Core::RakeTask.new(:spec) do |t| t.pattern = 'spec/**/*_spec.rb' t.rspec_opts = %q[-c -b] end RSpec::Core::RakeTask.new(:rcov) do |t| t.rcov = true t.rspec_opts = %q[-c -b] t.rcov_opts = %q[-T -x "spec"] end Rake::RDocTask.new do |rdoc| rdoc.rdoc_dir = 'rdoc' rdoc.title = "Gmail #{Gmail.version}" rdoc.rdoc_files.include('README*') rdoc.rdoc_files.include('lib/**/*.rb') end task :default => :spec desc "Build current version as a rubygem" task :build do `gem build gmail.gemspec` `mkdir -p pkg` `mv gmail-*.gem pkg/` end desc "Relase current version to rubygems.org" task :release => :build do `git tag -am "Version bump to #{Gmail.version}" v#{Gmail.version}` `git push origin master` `git push origin master --tags` `gem push pkg/gmail-#{Gmail.version}.gem` end desc "Perform installation via rubygems" task :install => :build do `gem install pkg/gmail-#{Gmail.version}.gem` end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
gmail-0.4.0 | Rakefile |
gmail-0.3.4 | Rakefile |
gmail-0.3.3 | Rakefile |