Sha256: f4daacfd8ffb7d9f1b18e289846718d2482c3458229100c19e55382a2996414f

Contents?: true

Size: 765 Bytes

Versions: 21

Compression:

Stored size: 765 Bytes

Contents

#
# Setup
#

load 'lib/tasks/redis.rake'

$LOAD_PATH.unshift 'lib'
require 'resque/tasks'

def command?(command)
  system("type #{command} > /dev/null 2>&1")
end

require 'rubygems'
require 'bundler/setup'
require 'bundler/gem_tasks'


#
# Tests
#

require 'rake/testtask'

task :default => :test

Rake::TestTask.new do |test|
  test.verbose = true
  test.libs << "test"
  test.libs << "lib"
  test.test_files = FileList['test/**/*_test.rb']
end

if command? :kicker
  desc "Launch Kicker (like autotest)"
  task :kicker do
    puts "Kicking... (ctrl+c to cancel)"
    exec "kicker -e rake test lib examples"
  end
end


#
# Install
#

task :install => [ 'redis:install', 'dtach:install' ]


#
# Documentation
#

begin
  require 'sdoc_helpers'
rescue LoadError
end

Version data entries

21 entries across 21 versions & 6 rubygems

Version Path
resque-2.7.0 Rakefile
resque-2.6.0 Rakefile
resque-2.5.0 Rakefile
resque-2.4.0 Rakefile
resque-2.3.0 Rakefile
resque-2.2.1 Rakefile
resque-2.2.0 Rakefile
resque-2.1.0 Rakefile
resque-2.0.0 Rakefile
resque_admin-1.0.3 Rakefile
resque_admin-1.0.2 Rakefile
enju_leaf-1.2.1 vendor/bundle/ruby/2.3/gems/resque-1.27.4/Rakefile
resque-1.27.4 Rakefile
resque-1.27.3 Rakefile
resque-1.27.2 Rakefile
resque-1.27.1 Rakefile
resque-1.27.0 Rakefile
resqueue-1.0.0 Rakefile
resque-master-0.0.3 Rakefile
ish_lib_manager-0.0.1 test/dummy/vendor/bundle/ruby/2.3.0/gems/resque-1.26.0/Rakefile