Sha256: 44de00d57473d0fa2674c0c0eb8bd8a0db8d08df71e007b426f8a27ffd39e1b3

Contents?: true

Size: 518 Bytes

Versions: 1

Compression:

Stored size: 518 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'))).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.3 lib/map-kit-wrapper.rb