Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
executable file 26 lines (20 sloc) 491 Bytes
#!/usr/bin/env rake
begin
require 'bundler/setup'
rescue LoadError
puts 'You must `gem install bundler` and `bundle install` to run rake tasks'
end
# console
desc "Open an console session preloaded with this library"
task :console do
sh "pry -r ./lib/librato-rack.rb"
end
Bundler::GemHelper.install_tasks
require 'rake/testtask'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.libs << 'test'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.