exe/archival in archival-0.0.2 vs exe/archival in archival-0.0.4

- old
+ new

@@ -17,20 +17,16 @@ build_dir = Dir.pwd case command when 'build' - builder = Archival::Builder.new('root' => build_dir) - builder.write_all -when 'run' - Archival.listen(build_dir) - begin - sleep - rescue Interrupt - # Don't print a stack when a user interrupts, as this is the right way to - # stop the development server. - puts '' + Archival::Logger.benchmark('built') do + config = Archival::Config.new('root' => build_dir) + builder = Archival::Builder.new(config) + builder.write_all end +when 'run' + Archival.listen('root' => build_dir) else # print help puts 'archival [command]' puts '' puts 'Commands:'