Sha256: 0a4ff904bf5951186a1274b6c21b26bfe60f6377d9d7b4e48fc8d59fb66e4e1c

Contents?: true

Size: 758 Bytes

Versions: 9

Compression:

Stored size: 758 Bytes

Contents

require 'bundler'
Bundler.setup

require "rspec"
require "rspec/core/rake_task"

$LOAD_PATH.unshift File.expand_path("../lib", __FILE__)
require "geo_ruby/version"

desc "Builds the gem"
task :gem => :build
task :build do
  system "gem build georuby.gemspec"
  Dir.mkdir("pkg") unless Dir.exists?("pkg")
  system "mv georuby-#{GeoRuby::VERSION}.gem pkg/"
end

task :install => :build do
  system "sudo gem install pkg/georuby-#{GeoRuby::VERSION}.gem"
end

task :release => :build do
  system "git tag -a v#{GeoRuby::VERSION} -m 'Tagging #{GeoRuby::VERSION}'"
  system "git push --tags"
  system "gem push pkg/georuby-#{GeoRuby::VERSION}.gem"
end

RSpec::Core::RakeTask.new(:spec) do |spec|
  spec.pattern = "spec/**/*_spec.rb"
end

task :default => [:spec]

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
georuby-2.3.0 Rakefile
georuby-2.2.1 Rakefile
georuby-2.2.0 Rakefile
georuby-2.0.0 Rakefile
georuby-1.9.9 Rakefile
georuby-1.9.8 Rakefile
georuby-1.9.7 Rakefile
georuby-1.9.6 Rakefile
georuby-1.9.5 Rakefile