2015-02-12 03:23:34 +00:00
|
|
|
# -*- ruby -*-
|
|
|
|
require 'rspec/core/rake_task'
|
|
|
|
require 'rubocop/rake_task'
|
2015-02-25 06:34:27 +00:00
|
|
|
require 'bundler/gem_tasks'
|
2015-02-12 03:23:34 +00:00
|
|
|
|
|
|
|
desc 'Run Rubocop to check for style violations'
|
|
|
|
RuboCop::RakeTask.new
|
|
|
|
|
|
|
|
desc 'Run rake task'
|
|
|
|
RSpec::Core::RakeTask.new(:spec)
|
|
|
|
|
|
|
|
desc 'Does rubocop lint and runs the specs'
|
|
|
|
task all: [:rubocop, :spec]
|
|
|
|
|
|
|
|
task default: :all
|