mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-05-16 18:09:31 +08:00
change library load path for benchmark suite
This commit is contained in:
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user