Rakefile in ackr-0.1 vs Rakefile in ackr-0.1.1
- old
+ new
@@ -1,9 +1,7 @@
# -*- encoding: utf-8 -*-
-# todo: replace GEM by th gem name
-
require 'rake'
require 'rspec/core/rake_task'
desc 'Test GEM'
task :default => :spec
@@ -18,18 +16,6 @@
puts 'Checking for code smells...'
files = Dir.glob 'lib/**/*.rb'
# files.delete FILE_TO_EXCLUDE
args = files.join(' ')
sh "reek --quiet #{args} | ./reek.sed"
-end
-
-desc 'Build GEM & install it'
-task :install do
- sh "gem build GEM.gemspec"
- f = FileList['GEM*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 "GEM Documentation" - NEWS COPYING VERSION'
end