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