Recover when deploy.rake doesn't exist
This commit is contained in:
parent
a955c15ca6
commit
6bb59a776d
1 changed files with 5 additions and 1 deletions
|
@ -6,7 +6,11 @@ require "yaml"
|
|||
|
||||
##
|
||||
# Rake tasks
|
||||
load "rake/tasks/deploy.rake"
|
||||
begin
|
||||
load "rake/tasks/deploy.rake"
|
||||
rescue LoadError
|
||||
warn "[warn] #{$!.class}: #{$!.message}"
|
||||
end
|
||||
load "rake/tasks/format.rake"
|
||||
load "rake/tasks/nanoc.rake"
|
||||
|
||||
|
|
Loading…
Reference in a new issue