Add digest to theme images to not keep rebuilding them

The digest is based on the colors of theme, so will change when the colors change
This commit is contained in:
Ufuk Kayserilioglu
2015-03-16 14:55:18 +02:00
parent 403a791c94
commit 511718e973
24 changed files with 23 additions and 10 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ class ScreenshotGenerator < ::Middleman::Extension
Screenshot.prepare
data = YAML.load_file('data/themes.yml')
data.each do |theme|
Screenshot.new(theme[:name]).generate_theme_image
Screenshot.new(theme).generate_theme_image
end
puts "Hello World"
# builder.run './my_deploy_script.sh'