-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathRakefile
More file actions
31 lines (21 loc) · 740 Bytes
/
Rakefile
File metadata and controls
31 lines (21 loc) · 740 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "resque-multi-step #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
# Setup for acceptance testing
require 'rubygems'
require 'resque/tasks'
require 'resque-fairly'
Resque.redis.namespace = ENV['NAMESPACE'] if ENV['NAMESPACE']
$LOAD_PATH << File.expand_path("lib", File.dirname(__FILE__))
require 'resque-multi-step'
$LOAD_PATH << File.expand_path("spec/acceptance", File.dirname(__FILE__))
require 'acceptance_jobs'