change library load path for benchmark suite

This commit is contained in:
Watson
2013-11-16 10:32:04 +09:00
parent a749bfc648
commit 6ec1dbef60

View File

@@ -1,6 +1,10 @@
# -*- coding: utf-8 -*-
version = ENV['version'] || ''
$:.unshift("/Library/RubyMotion#{version}/lib")
if version != ''
$:.unshift("/Library/RubyMotion#{version}/lib")
else
$:.unshift("../../lib")
end
platform = ENV['platform'] || 'osx'
require "motion/project/template/#{platform}"