Sha256: 64d108942145f5b78c36641948c36596ba6f354fa58e5d57391f46399af0355c
Contents?: true
Size: 909 Bytes
Versions: 4
Compression:
Stored size: 909 Bytes
Contents
require 'rubygems' require 'bundler/setup' require 'rake' require 'spec/rake/spectask' require File.expand_path('../lib/happymapper/version', __FILE__) Spec::Rake::SpecTask.new do |t| t.ruby_opts << '-rubygems' t.verbose = true end task :default => :spec desc 'Builds the gem' task :build do sh "gem build happymapper.gemspec" end desc 'Builds and installs the gem' task :install => :build do sh "gem install happymapper-#{HappyMapper::Version}" end desc 'Tags version, pushes to remote, and pushes gem' task :release => :build do sh "git tag v#{HappyMapper::Version}" sh "git push origin master" sh "git push origin v#{HappyMapper::Version}" sh "gem push happymapper-#{HappyMapper::Version}.gem" end desc 'Upload website files to rubyforge' task :website do sh %{rsync -av website/ jnunemaker@rubyforge.org:/var/www/gforge-projects/happymapper} end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
happymapper-0.5.0 | Rakefile |
happymapper-0.4.1 | Rakefile |
happymapper-swanandp-0.4.0 | Rakefile |
happymapper-0.4.0 | Rakefile |