Rakefile.rb in cxxproject-0.6.14 vs Rakefile.rb in cxxproject-0.6.17
- old
+ new
@@ -34,33 +34,34 @@
rescue LoadError => e
task :rdoc do
puts 'please gem install rdoc'
end
end
- begin
- require 'roodi'
- require 'roodi_task'
- class RoodiTask
- def define
- # copied from roodi_task.rb
- desc "Check for design issues in: #{patterns.join(', ')}"
- task name do
- runner = Roodi::Core::Runner.new
- runner.config = config if config
- patterns.each do |pattern|
- Dir.glob(pattern).each { |file| runner.check_file(file) }
- end
- runner.errors.each {|error| puts error}
- # raise "Found #{runner.errors.size} errors." unless runner.errors.empty?
- end
- self
- end
- end
- RoodiTask.new('roodi', spec.files)
- task :gem => [:roodi]
- rescue LoadError # don't bail out when people do not have roodi installed!
- puts 'please gem install roodi'
- end
+
+# begin
+# require 'roodi'
+# require 'roodi_task'
+# class RoodiTask
+# def define
+# # copied from roodi_task.rb
+# desc "Check for design issues in: #{patterns.join(', ')}"
+# task name do
+# runner = Roodi::Core::Runner.new
+# runner.config = config if config
+# patterns.each do |pattern|
+# Dir.glob(pattern).each { |file| runner.check_file(file) }
+# end
+# runner.errors.each {|error| puts error}
+# # raise "Found #{runner.errors.size} errors." unless runner.errors.empty?
+# end
+# self
+# end
+# end
+# RoodiTask.new('roodi', spec.files)
+# task :gem => [:roodi]
+# rescue LoadError # don't bail out when people do not have roodi installed!
+# puts 'please gem install roodi'
+# end
rescue LoadError => e
puts "please missing gems #{e}"
end
def two_digits(x)