summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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'