Files
ProMotion/lib/ProMotion.rb
Jamon Holmgren 1b3ecb803c Removing abort
2013-04-25 09:43:56 -07:00

12 lines
459 B
Ruby

unless defined?(Motion::Project::Config)
raise "This file must be required within a RubyMotion project Rakefile."
end
require "ProMotion/version"
Motion::Project::App.setup do |app|
original_files = app.files
delegate = File.join(File.dirname(__FILE__), 'ProMotion/delegate.rb')
promotion_files = FileList[File.join(File.dirname(__FILE__), 'ProMotion/**/*.rb')].exclude(delegate).to_a
app.files = (promotion_files << delegate) + original_files
end