Almost all tests passing, except profiler

This commit is contained in:
Sam Doiron
2022-04-06 17:35:00 -03:00
parent 6e07f73f68
commit c2b7b3df50
4 changed files with 97 additions and 0 deletions
+10
View File
@@ -3,6 +3,16 @@
require 'stackprof'
require_relative 'theme_runner'
if ENV['LIQUID_C'] == '1'
puts "-- LIQUID C"
require 'liquid/c'
end
if ENV['LIQUID_COMPILE'] == '1'
puts "-- COMPILED"
require 'liquid/compile'
end
Liquid::Template.error_mode = ARGV.first.to_sym if ARGV.first
profiler = ThemeRunner.new
profiler.run