lib/smallvictories/builder.rb in smallvictories-0.0.11 vs lib/smallvictories/builder.rb in smallvictories-0.0.12

- old
+ new

@@ -16,10 +16,11 @@ setup_config setup_guardfile setup_stylesheet setup_javascript setup_html + setup_sprite end def folder_path "#{ROOT}/#{folder}" end @@ -78,8 +79,13 @@ def setup_html setup_directory(File.join(folder_source_path, config.includes)) create_src_file('head.liquid', File.join(folder_source_path, config.includes, '/_head.liquid')) create_src_file('layout.liquid', File.join(folder_source_path, config.layout)) create_src_file('index.liquid', File.join(folder_source_path, 'index.liquid')) + end + + def setup_sprite + setup_directory File.join(folder_source_path, config.source_sprite) + create_src_file('empty.png', File.join(folder_source_path, config.source_sprite, 'empty.png')) end end end