Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 17 lines (15 sloc) 0.4 kb
4d3c4b0 Oleg Pudeyev Keep rake functional in absence of bundler.
p authored
1 begin
2 require 'bundler'
3 rescue LoadError => e
4 warn("warning: Could not load bundler: #{e}")
5 warn(" Some rake tasks will not be defined")
6 else
7 Bundler::GemHelper.install_tasks
8 end
9968a75 Javan Makhmali using jeweler, lots of cleanup, updates to readme, etc.
authored
9
10 require 'rake/testtask'
11 Rake::TestTask.new(:test) do |test|
2a89d79 Javan Makhmali Ditched Jeweler in favor of a self-managed gemspec with the Bundler help...
authored
12 test.libs << 'lib' << 'test'
13 test.pattern = 'test/{functional,unit}/**/*_test.rb'
14 test.verbose = true
15 end
9968a75 Javan Makhmali using jeweler, lots of cleanup, updates to readme, etc.
authored
16
17 task :default => :test
Something went wrong with that request. Please try again.