Sha256: ef5ef1bfef81388062c1286b7973dcdfba143a61b87eb042e922be021abae57b

Contents?: true

Size: 857 Bytes

Versions: 1

Compression:

Stored size: 857 Bytes

Contents

#!/usr/bin/env rake


begin
  require 'bundler/setup'
rescue LoadError
  puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
begin
  require 'rdoc/task'
rescue LoadError
  require 'rdoc/rdoc'
  require 'rake/rdoctask'
  RDoc::Task = Rake::RDocTask
end

RDoc::Task.new(:rdoc) do |rdoc|
  rdoc.rdoc_dir = 'rdoc'
  rdoc.title    = 'reimagine2'
  rdoc.options << '--line-numbers'
  rdoc.rdoc_files.include('README.rdoc')
  rdoc.rdoc_files.include('lib/**/*.rb')
end

Bundler::GemHelper.install_tasks

task deploy: [:spec, :build] do
  require 'reimagine2/version'
  # bump version first
  system "fury push pkg/reimagine2-#{Reimagine2::VERSION}.gem"
end

task :publish do
  # Do not want to publish to rubygems!
  raise 'USE rake deploy'
end

require 'rspec/core/rake_task'

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

task :default => :spec

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
reimagine2-2.0.28 Rakefile