159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
|
# File 'lib/xdry/run.rb', line 159
def self.test_run sources, config
oglobal = OGlobal.new
parser = ParsingDriver.new(oglobal)
parser.verbose = config.verbose
sources.each do |file_path, content|
parser.parse_string file_path, content
end
patcher = Patcher.new
patcher.verbose = config.verbose
parser.markers.each { |marker| patcher.remove_marker! marker }
self.produce_everything(oglobal, patcher, config)
return patcher.retrieve!
end
|