Sha256: 90b6f1dfe9795ed76c7b364f4cf089a5f8031eb365d3a12c49ba20dd32fc82eb

Contents?: true

Size: 423 Bytes

Versions: 7

Compression:

Stored size: 423 Bytes

Contents

unless defined?(Motion::Project::Config)
  raise "The ProMotion gem must be required within a RubyMotion project Rakefile."
end

Motion::Project::App.setup do |app|
  core_lib = File.join(File.dirname(__FILE__), 'ProMotion')
  insert_point = app.files.find_index { |file| file =~ /^(?:\.\/)?app\// } || 0

  Dir.glob(File.join(core_lib, '**/*.rb')).reverse.each do |file|
    app.files.insert(insert_point, file)
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
ProMotion-2.0.1 lib/ProMotion.rb
ProMotion-2.0.0 lib/ProMotion.rb
ProMotion-2.0.0.rc5 lib/ProMotion.rb
ProMotion-2.0.0.rc4 lib/ProMotion.rb
ProMotion-2.0.0.rc3 lib/ProMotion.rb
ProMotion-2.0.0.rc2 lib/ProMotion.rb
ProMotion-2.0.0.rc1 lib/ProMotion.rb