Recover when deploy.rake doesn't exist

This commit is contained in:
0x1eef 2024-05-17 03:02:13 -03:00
parent a955c15ca6
commit 6bb59a776d

View file

@ -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"