Sha256: 00ffee5a233807be13066b3ed429d7d791cefda5bd8d7fe2d5a2255354bfffeb

Contents?: true

Size: 734 Bytes

Versions: 1

Compression:

Stored size: 734 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 'rubygems/tasks'
Gem::Tasks.new do |tasks|
  tasks.console.command = 'pry'
end

require 'rdoc/task'
RDoc::Task.new do |rdoc|
  rdoc.title = 'super_hooks'
end
task doc: :rdoc

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

require 'rubocop/rake_task'
RuboCop::RakeTask.new

task test: :spec
task default: [:spec, :rubocop]

task rebuild: [:build, :install]

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
super_hooks-0.0.2.1 Rakefile