mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
Add Rakefile to make Travis happy
This commit is contained in:
parent
8ce9683cd6
commit
27e7a93c13
2 changed files with 18 additions and 1 deletions
17
Rakefile
17
Rakefile
|
@ -1 +1,16 @@
|
|||
require "bundler/gem_tasks"
|
||||
require 'rubygems'
|
||||
require 'rspec/core/rake_task'
|
||||
require 'yard'
|
||||
|
||||
desc "Run all examples"
|
||||
RSpec::Core::RakeTask.new(:spec) do |t|
|
||||
#t.rspec_path = 'bin/rspec'
|
||||
t.rspec_opts = %w[--color]
|
||||
end
|
||||
|
||||
YARD::Rake::YardocTask.new do |t|
|
||||
t.files = ['lib/**/*.rb']
|
||||
#t.options = ['--any', '--extra', '--opts'] # optional
|
||||
end
|
||||
|
||||
task :default => [:spec]
|
||||
|
|
|
@ -20,4 +20,6 @@ Gem::Specification.new do |gem|
|
|||
gem.add_dependency "rails", "~>3.0"
|
||||
gem.add_development_dependency "rspec", "~>2.0"
|
||||
gem.add_development_dependency "pry"
|
||||
gem.add_development_dependency "rake"
|
||||
gem.add_development_dependency "yard"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue