Cleanup screenshot generator

This commit is contained in:
Ufuk Kayserilioglu committed 2015-03-17 01:18:15 +02:00
1 parent 1ff838b5fe
commit 960a7f1102
1 file changed
+1 -4
+1 -4
View File
@@ -5,15 +5,12 @@ class ScreenshotGenerator < ::Middleman::Extension
def initialize(app, options_hash={}, &block) def initialize(app, options_hash={}, &block)
super super
app.before_build do |builder| app.before_build do
Screenshot.prepare Screenshot.prepare
themes.each do |theme| themes.each do |theme|
Screenshot.new(theme).generate_theme_image Screenshot.new(theme).generate_theme_image
end end
puts "Hello World"
# builder.run './my_deploy_script.sh'
end end
end end
end end