lib/rm-extensions.rb in rm-extensions-0.0.5 vs lib/rm-extensions.rb in rm-extensions-0.0.6
- old
+ new
@@ -3,10 +3,18 @@
unless defined?(Motion::Project::Config)
raise "This file must be required within a RubyMotion project Rakefile."
end
Motion::Project::App.setup do |app|
- Dir.glob(File.join(File.dirname(__FILE__), 'motion/**/*.rb')).each do |file|
- app.files.unshift(file)
+ %w(
+ util
+ retention
+ accessors
+ deallocation
+ context
+ observation
+ queues
+ ).reverse.each do |x|
+ app.files.unshift(File.join(File.dirname(__FILE__), "motion/#{x}.rb"))
end
app.vendor_project(File.join(File.dirname(__FILE__), '../ext'), :static)
end