1
0
Fork 0
mirror of https://github.com/varvet/pundit.git synced 2022-11-09 12:30:11 -05:00
varvet--pundit/Rakefile

20 lines
381 B
Text
Raw Normal View History

2016-01-14 09:15:30 -05:00
require "rubygems"
require "bundler/gem_tasks"
require "rspec/core/rake_task"
require "yard"
require "rubocop/rake_task"
RuboCop::RakeTask.new
2012-11-19 07:47:38 -05:00
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
t.rspec_opts = %w[--color]
end
YARD::Rake::YardocTask.new do |t|
2016-01-14 09:15:30 -05:00
t.files = ["lib/**/*.rb"]
2012-11-19 07:47:38 -05:00
end
2016-01-14 09:15:30 -05:00
task default: :spec
task default: :rubocop unless RUBY_ENGINE == "rbx"