Add error mode switching

This commit is contained in:
Tristan Hume
2013-07-26 11:45:13 -04:00
parent 8b1dff9d98
commit 87b8ee7341
7 changed files with 58 additions and 6 deletions

View File

@@ -2,6 +2,7 @@ require 'rubygems'
require 'benchmark'
require File.dirname(__FILE__) + '/theme_runner'
Liquid::Template.error_mode = ARGV.first.to_sym if ARGV.first
profiler = ThemeRunner.new
Benchmark.bmbm do |x|