Sha256: caa40bf75d5587235e03b1dc20615d363f19ab7139449e8aee35e7d304091487

Contents?: true

Size: 538 Bytes

Versions: 1

Compression:

Stored size: 538 Bytes

Contents

require 'codependency'
unless defined?(Motion::Project::Config)
  raise "This file must be required within a RubyMotion project Rakefile."
end

Motion::Project::App.setup do |app|
  base_path = "#{File.dirname(__FILE__)}/map-kit-wrapper"
  graph = Codependency::Graph.new("#{base_path}/map_view.rb")

  files = (graph.files + Dir.glob(File.join(File.dirname(__FILE__), 'map-kit-wrapper/*.rb')).map { |file| file }).uniq
  files.reverse.each do |file|
    app.files.unshift(file)
  end

  app.frameworks += ['CoreLocation', 'MapKit']
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
map-kit-wrapper-0.0.2 lib/map-kit-wrapper.rb