Sha256: 815e2d05254b632c2af985c20a2968c038566a578760003673945fe25fa4359c

Contents?: true

Size: 454 Bytes

Versions: 5

Compression:

Stored size: 454 Bytes

Contents

require 'bundler'
Bundler.setup
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new(:spec)

desc 'Builds and installs the migration_bundler Gem'
task :install do
  lib = File.expand_path('../lib', __FILE__)
  $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
  require 'migration_bundler/version'
  
  system("gem build migration_bundler.gemspec && gem install migration_bundler-#{MigrationBundler::VERSION}.gem")
end

task :default => :spec

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
migration_bundler-1.4.0 Rakefile
migration_bundler-1.3.3 Rakefile
migration_bundler-1.3.2 Rakefile
migration_bundler-1.3.1 Rakefile
migration_bundler-1.3.0 Rakefile