Rakefile in coco-0.5 vs Rakefile in coco-0.5.1
- old
+ new
@@ -11,11 +11,11 @@
desc 'Test coco'
task :default => :spec
desc 'Test coco'
RSpec::Core::RakeTask.new(:spec) do |t|
- t.rspec_opts = ['--color']
+ t.rspec_opts = ['--color --format documentation']
end
desc 'Check for code smells'
task :reek do
puts 'Checking for code smells...'
@@ -31,13 +31,13 @@
end
desc 'Build the gem & install it'
task :install do
sh "gem build coco.gemspec"
- f = FileList['coco*gem'].to_a
- sh "gem install #{f.first} --no-rdoc --no-ri"
+ f = FileList['coco*gem'].to_a
+ sh "gem install #{f.first} --no-rdoc --no-ri"
end
desc 'Generate yard documentation for developpers'
task :doc do
- exec 'yardoc --title "Coco Documentation" - NEWS COPYING VERSION'
+ exec 'yardoc --title "Coco Documentation" - NEWS COPYING VERSION'
end