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'
|
2017-07-12 22:04:03 +00:00
|
|
|
task all: %i[rubocop spec]
|
2015-02-12 03:23:34 +00:00
|
|
|
|
|
|
|
task default: :all
|