Sha256: 417d8ff02151fd7e035989e2f7b269c77fb16116b9935eba4cadc05fe7080293
Contents?: true
Size: 1.28 KB
Versions: 1
Compression:
Stored size: 1.28 KB
Contents
require "rmx/version" unless defined?(Motion::Project::Config) raise "This file must be required within a RubyMotion project Rakefile." end Motion::Project::App.setup do |app| %w( RMXObjectExtensions base env layout util accessors events ui RMXCommonMethods RMXWeakHolder RMXUnsafeUnretainedHolder RMXWeakToStrongHash RMXStrongToWeakHash RMXSynchronizedStrongToWeakHash RMXEventsFromProxy RMXExecutionBlock RMXSetAttributes RMXViewControllerPresentation RMXKeyboardHelpers RMXNavigationController RMXTableViewController RMXViewController RMXSegmentedController RMXView RMXActionSheet RMXAutoLayoutLabel RMXAutoLayoutScrollView RMXTableHandler RMXTableViewCell RMXTableViewCellInnerContentView ).reverse.each do |x| app.files.unshift(File.join(File.dirname(__FILE__), "motion/#{x}.rb")) end FileUtils.mkdir_p(File.expand_path("../build", File.dirname(__FILE__))) env_filename = File.expand_path("../build/env.rb", File.dirname(__FILE__)) rmx_env = ENV['rmx_env'] == '1' ? ENV.to_hash : {} File.open(env_filename, "w") do |f| f.puts %Q{class RMX\n Env = #{rmx_env.inspect}\nend\n} end App.log "RMX::Env", rmx_env.inspect app.files.unshift(env_filename) end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rmx-0.6.0 | lib/rmx.rb |