From 6bb59a776d80a627a281446ae4854479eb35467f Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 17 May 2024 03:02:13 -0300 Subject: [PATCH] Recover when deploy.rake doesn't exist --- Rakefile.rb | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Rakefile.rb b/Rakefile.rb index 10592017e..e47a3304a 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -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"