Fix assets:compile

pull/1028/head
Jasper van Merle 6 years ago
parent af36b5133a
commit 50cd4e13a3

@ -14,7 +14,9 @@ class AssetsCLI < Thor
option :keep, type: :numeric, default: 0, desc: 'Number of old assets to keep' option :keep, type: :numeric, default: 0, desc: 'Number of old assets to keep'
option :verbose, type: :boolean option :verbose, type: :boolean
def compile def compile
load 'tasks/sprites.thor'
invoke 'sprites:generate', [], :verbose => options[:verbose] invoke 'sprites:generate', [], :verbose => options[:verbose]
manifest.compile App.assets_compile manifest.compile App.assets_compile
manifest.clean(options[:keep]) if options[:clean] manifest.clean(options[:keep]) if options[:clean]
end end

Loading…
Cancel
Save