Fixed a duplicate ending bug in the examples generator.
This commit is contained in:
parent
6dc577067c
commit
da4275bdec
2
Rakefile
2
Rakefile
@ -58,7 +58,7 @@ task :examples do
|
||||
engine = Haml::Engine.new(open(haml_file).read, :filename => haml_file)
|
||||
target_dir = "built_examples/#{basename.sub(%r{/[^/]*$},'')}"
|
||||
FileUtils.mkdir_p(target_dir)
|
||||
output = open("built_examples/#{basename}.html",'w')
|
||||
output = open("built_examples/#{basename}",'w')
|
||||
output.write(engine.render)
|
||||
output.close
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user