summaryrefslogtreecommitdiff
path: root/Rakefile
blob: 98ee3e45431c13fba0315b9f66a2c7fb54d8f909 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
require 'jekyll'

task :default => [:buildsite]

desc 'Build the site'
task :buildsite do
	#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'
task :clean do
	puts 'Cleaning up _site...'.bold
	Jekyll::Commands::Clean.process({})
end