-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathRakefile
33 lines (25 loc) · 898 Bytes
/
Rakefile
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
31
32
33
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require(File.join(File.dirname(__FILE__), 'config', 'boot'))
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'tasks/rails'
Bundler.require(:rake) # Brings in Vlad
begin
gem 'metric_fu'
require 'metric_fu'
rescue LoadError
end
begin ; require 'codefumes_harvester' ; rescue LoadError ; end
begin
# NOTE: be sure to install vlad-git gem if you want to do deployments,
# it is no longer included in vlad's core.
require 'vlad'
require 'hoe'
require 'lib/tasks/custom_vlad_tasks'
Vlad.load :scm => nil, :web => nil, :app => nil
Rake.clear_tasks("vlad:setup_app", "vlad:rollback", "vlad:update", "vlad:update_symlinks")
rescue LoadError
# do nothing (in case server doesn't have Vlad, etc)
end