diff options
author | uvok cheetah | 2020-01-05 13:46:11 +0100 |
---|---|---|
committer | uvok cheetah | 2020-01-05 13:46:11 +0100 |
commit | ba9fd9ca4259e0be7318c058d4d92b42ef4fd166 (patch) | |
tree | b4088df89159a2626e2a63bd9b6fa5ecb019343f | |
parent | db78f950715787dd552d8585c2f899652b59167d (diff) |
Execute jekyll build directly
until I figure out how to load the plugins
-rw-r--r-- | Rakefile | 11 |
1 files changed, 7 insertions, 4 deletions
@@ -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' |