mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-01 09:31:20 +08:00
19 lines
426 B
Ruby
19 lines
426 B
Ruby
# -*- coding: utf-8 -*-
|
|
version = ENV['version'] || ''
|
|
if version != ''
|
|
$:.unshift("/Library/RubyMotion#{version}/lib")
|
|
else
|
|
$:.unshift("../../lib")
|
|
end
|
|
|
|
platform = ENV['platform'] || 'osx'
|
|
require "motion/project/template/#{platform}"
|
|
|
|
ENV['mode'] = 'release'
|
|
|
|
Motion::Project::App.setup do |app|
|
|
# Use `rake config' to see complete project settings.
|
|
app.name = 'Benchmark'
|
|
app.files += Dir.glob('lib/**/*.rb')
|
|
end
|