blob: c092ecf65c4b1dd3e2004d620c7bd87cdc6ecd98 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
require 'jekyll'
task :default => [:buildsite]
desc 'Build the site'
task :buildsite do
def Jekyll::env
"production"
end
Jekyll::Commands::Build.process({})
end
desc 'Clean up built files'
task :clean do
puts 'Cleaning up _site...'.bold
Jekyll::Commands::Clean.process({})
end
|