Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

24 lines (18 sloc) 0.599 kB
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'
desc "Run all tests and features"
task :default => [:test, :cucumber]
task :cron => ['gemcutter:store_legacy_index']
begin
require 'vlad'
Vlad.load :scm => :git, :config => "config/deploy/#{ENV['to'] || 'development'}.rb", :app => nil
rescue LoadError => e
# Silently pass on a fail loading deploy_whatever - we moved that stuff under a deploy
# subdir
unless e.message =~ /config\/deploy_/
puts "Unable to load Vlad #{e}."
end
end
Jump to Line
Something went wrong with that request. Please try again.