lib/middleman-slim/template.rb in middleman-slim-0.1.0 vs lib/middleman-slim/template.rb in middleman-slim-0.1.1
- old
+ new
@@ -16,10 +16,10 @@
def self.source_root
File.join(File.dirname(__FILE__), 'template')
end
- def build_scaffold
+ def build_scaffold!
template 'shared/Gemfile.tt', File.join(location, 'Gemfile')
template 'shared/config.tt', File.join(location, 'config.rb')
copy_file 'source/index.html.slim', File.join(location, 'source/index.html.slim')
copy_file 'source/layouts/layout.slim', File.join(location, 'source/layouts/layout.slim')