Sha256: 40cf71373f0019fa41fae5cae476246e309d41c54b01f65e5ca31295181516aa

Contents?: true

Size: 699 Bytes

Versions: 5

Compression:

Stored size: 699 Bytes

Contents

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|

  # Dir.glob(File.join(File.dirname(__FILE__), "ProMotion/**/*.rb")).each do |file|
  #   app.files.unshift(file)
  # end
  app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/**/*.rb')) | app.files
  app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/helpers/**/*.rb')) | app.files
  app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/modules/**/*.rb')) | app.files
  app.files = Dir.glob(File.join(File.dirname(__FILE__), 'ProMotion/ext/**/*.rb')) | app.files
  
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ProMotion-0.3.0 lib/ProMotion.rb
ProMotion-0.2.0 lib/ProMotion.rb
ProMotion-0.1.2 lib/ProMotion.rb
ProMotion-0.1.1 lib/ProMotion.rb
ProMotion-0.1.0 lib/ProMotion.rb