Sha256: 1a491bc38e218e1788d2e1fbbd5340adf89f82fbed8ed4e40b7de6339310977c
Contents?: true
Size: 806 Bytes
Versions: 1
Compression:
Stored size: 806 Bytes
Contents
# encoding: utf-8 require 'bundler/gem_tasks' require 'rake/testtask' lib = File.expand_path('../lib/', __FILE__) $:.unshift lib unless $:.include?(lib) require('gmaps_geocoding/version') task gem: :build task :build do system 'gem build gmaps_geocoding.gemspec' end task install: :build do system "gem install pkg/gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem" end task release: :build do system "git tag -a -v#{GmapsGeocoding::VERSION} -m 'Tagging #{GmapsGeocoding::VERSION}'" system 'git push --tags' system "gem push pkg/gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem" system "rm pkg/gmaps_geocoding-#{GmapsGeocoding::VERSION}.gem" end Rake::TestTask.new do |t| t.libs << 'lib/gmaps_geocoding' t.test_files = FileList['test/*_test.rb'] t.verbose = true end task default: :test
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
gmaps_geocoding-0.0.2 | Rakefile |