Skip to content
Newer
Older
100644 29 lines (21 sloc) 445 Bytes
1cbc131 @bvandenbos Removing jeweler
bvandenbos authored
1 require 'bundler'
58e06e1 @bvandenbos rdoc should not be required
bvandenbos authored
2
1cbc131 @bvandenbos Removing jeweler
bvandenbos authored
3 Bundler::GemHelper.install_tasks
e240e3d Porting resque_scheduler stuff from my resque fork
Ben VandenBos authored
4
5 $LOAD_PATH.unshift 'lib'
6
7 task :default => :test
8
58e06e1 @bvandenbos rdoc should not be required
bvandenbos authored
9 # Tests
e240e3d Porting resque_scheduler stuff from my resque fork
Ben VandenBos authored
10 desc "Run tests"
11 task :test do
12 Dir['test/*_test.rb'].each do |f|
dd47e4e @mattetti Make resque-scheduler a bit more Ruby 1.9.2 friendly
mattetti authored
13 require File.expand_path(f)
e240e3d Porting resque_scheduler stuff from my resque fork
Ben VandenBos authored
14 end
15 end
7f1a34b @bvandenbos Adding rdoc task
bvandenbos authored
16
58e06e1 @bvandenbos rdoc should not be required
bvandenbos authored
17 # Documentation Tasks
18 begin
19 require 'rdoc/task'
20
21 Rake::RDocTask.new do |rd|
22 rd.main = "README.markdown"
23 rd.rdoc_files.include("README.markdown", "lib/**/*.rb")
24 rd.rdoc_dir = 'doc'
25 end
26 rescue LoadError
7f1a34b @bvandenbos Adding rdoc task
bvandenbos authored
27 end
28
Something went wrong with that request. Please try again.