Permalink
Browse files

Remove rdoc rake tasks, update for librato-rack

  • Loading branch information...
1 parent 9fc8b7e commit 14d72fe64891d56f8d9658b77a581700b7ed9fea @nextmat nextmat committed Jan 9, 2013
Showing with 3 additions and 19 deletions.
  1. +3 −19 Rakefile
View
22 Rakefile
@@ -4,26 +4,11 @@ begin
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
-begin
- require 'rdoc/task'
-rescue LoadError
- require 'rdoc/rdoc'
- require 'rake/rdoctask'
- RDoc::Task = Rake::RDocTask
-end
-RDoc::Task.new(:rdoc) do |rdoc|
- rdoc.rdoc_dir = 'rdoc'
- rdoc.title = 'LibratoRails'
- rdoc.options << '--line-numbers'
- rdoc.rdoc_files.include('README.rdoc')
- rdoc.rdoc_files.include('lib/**/*.rb')
-end
-
-# IRB
-desc "Open an irb session preloaded with this library"
+# console
+desc "Open an console session preloaded with this library"
task :console do
- sh "pry -rubygems -r rails -r ./lib/librato-rails.rb"
+ sh "pry -rubygems -r ./lib/librato-rack.rb"
end
Bundler::GemHelper.install_tasks
@@ -37,5 +22,4 @@ Rake::TestTask.new(:test) do |t|
t.verbose = false
end
-
task :default => :test

0 comments on commit 14d72fe

Please sign in to comment.