summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoruvok cheetah2020-01-05 13:46:11 +0100
committeruvok cheetah2020-01-05 13:46:11 +0100
commitba9fd9ca4259e0be7318c058d4d92b42ef4fd166 (patch)
treeb4088df89159a2626e2a63bd9b6fa5ecb019343f
parentdb78f950715787dd552d8585c2f899652b59167d (diff)
Execute jekyll build directly
until I figure out how to load the plugins
-rw-r--r--Rakefile11
1 files changed, 7 insertions, 4 deletions
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'