build a config file jail

This commit is contained in:
Thomas Reynolds 2013-12-31 18:21:30 -08:00
parent 2e2415612a
commit c95c924d53
26 changed files with 553 additions and 613 deletions

View file

@ -23,7 +23,7 @@ class Middleman::Extensions::Gzip < ::Middleman::Extension
def after_build(builder)
num_threads = 4
paths = ::Middleman::Util.all_files_under(app.build_dir)
paths = ::Middleman::Util.all_files_under(app.config[:build_dir])
total_savings = 0
# Fill a queue with inputs