Sha256: 689b7086e08eadaf8b4960ce475f30f50ae80fd86a6273fec472bbb046ab239c

Contents?: true

Size: 735 Bytes

Versions: 2

Compression:

Stored size: 735 Bytes

Contents

# encoding: utf-8

require 'rubygems'

begin
  require 'bundler'
rescue LoadError => e
  warn e.message
  warn "Run `gem install bundler` to install Bundler."
  exit -1
end

begin
  Bundler.setup(:development)
rescue Bundler::BundlerError => e
  warn e.message
  warn "Run `bundle install` to install missing gems."
  exit e.status_code
end

require 'rake'

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new

task :test    => [:spec]
task :default => [:spec]

desc 'Removes the tmp and pkg directories'
task :clean do
  pwd = Dir.pwd.to_s
  FileUtils.rm_rf Dir["#{pwd}/tmp"]
  FileUtils.rm_rf Dir["#{pwd}/pkg"]
end

require 'yard'
YARD::Rake::YardocTask.new
task :doc => [:yard]

require 'bundler/gem_tasks'

require 'rgitflow'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
rgitflow-0.2.2 Rakefile
rgitflow-0.2.1.pre.alpha.pre.32 Rakefile