From ba9fd9ca4259e0be7318c058d4d92b42ef4fd166 Mon Sep 17 00:00:00 2001 From: uvok cheetah Date: Sun, 5 Jan 2020 13:46:11 +0100 Subject: Execute jekyll build directly until I figure out how to load the plugins --- Rakefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index c092ecf..98ee3e4 100644 --- a/Rakefile +++ b/Rakefile @@ -4,10 +4,13 @@ task :default => [:buildsite] desc 'Build the site' task :buildsite do - def Jekyll::env - "production" - end - Jekyll::Commands::Build.process({}) + #def Jekyll::env + # "production" + #end + # fuck this, the whole process won't work unless I figure out how to activate all plugins + ###Jekyll::Commands::Build.process({}) + ENV["JEKYLL_ENV"]="production" + sh "bundle", "exec", "jekyll", "build" end desc 'Clean up built files' -- cgit v1.2.3