Sha256: cdb22079a8091f0f17eec818791bee04799fca0913cab09368538f1a8dda9855

Contents?: true

Size: 771 Bytes

Versions: 4

Compression:

Stored size: 771 Bytes

Contents

#
# Setup
#

load 'lib/tasks/redis.rake'

$LOAD_PATH.unshift 'lib'
require 'resque_admin/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

4 entries across 4 versions & 1 rubygems

Version Path
resque_admin-1.0.5 Rakefile
resque_admin-1.0.4 Rakefile
resque_admin-0.2.0 Rakefile
resque_admin-2.4.4 Rakefile