Set the codepage to 65001 before generating
This commit is contained in:
parent
64ba603225
commit
cf4af1d825
2
Rakefile
2
Rakefile
@ -51,6 +51,8 @@ end
|
|||||||
desc "Generate jekyll site"
|
desc "Generate jekyll site"
|
||||||
task :generate do
|
task :generate do
|
||||||
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
|
raise "### You haven't set anything up yet. First run `rake install` to set up an Octopress theme." unless File.directory?(source_dir)
|
||||||
|
puts '## Setting the codepage to 65001'
|
||||||
|
`chcp 65001`
|
||||||
puts "## Generating Site with Jekyll"
|
puts "## Generating Site with Jekyll"
|
||||||
system "compass compile --css-dir #{source_dir}/stylesheets"
|
system "compass compile --css-dir #{source_dir}/stylesheets"
|
||||||
system "jekyll"
|
system "jekyll"
|
||||||
|
Loading…
Reference in New Issue
Block a user