Sha256: a8ce66b1c8c5f76d8279c1c015223499825ebea1b5666cd1e0104ce57fede027

Contents?: true

Size: 647 Bytes

Versions: 3

Compression:

Stored size: 647 Bytes

Contents

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

require File.join(File.expand_path('../lib', __FILE__), 'soulmate_rails', 'version')

RSpec::Core::RakeTask.new
task :default => :spec

desc 'Builds the gem'
task :build do
  sh 'gem build soulmate_rails.gemspec'
  Dir.mkdir('pkg') unless File.directory?('pkg')
  sh "mv soulmate_rails-#{SoulmateRails::VERSION}.gem pkg/"
end

desc 'Builds and Installs the gem'
task :install => :build do
  sh "gem install pkg/soulmate_rails-#{SoulmateRails::VERSION}.gem"
end

desc 'Open an irb session preloaded with this library'
task :console do
  sh 'irb -rubygems -I lib -r soulmate_rails.rb'
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
soulmate_rails-0.2.1 Rakefile
soulmate_rails-0.2.1.beta Rakefile
soulmate_rails-0.2.0.alpha Rakefile