test/tools.rb in autobuild-0.5.1 vs test/tools.rb in autobuild-0.6
- old
+ new
@@ -12,9 +12,14 @@
def self.clean
FileUtils.rm_rf tempdir
end
+ def self.build_dummy_config(basedir)
+ global_prefix = File.join(basedir, 'prefix')
+
+ end
+
def self.build_config(bind, template)
eval "basedir = '#{self.tempdir}'", bind
ryml = File.open(File.join(DATADIR, "#{template}.ryml")) { |f| f.readlines }.join('')
result = ERB.new(ryml).result(bind)