Sha256: a9f5829844a88ae3f88259fabf69c109faac20ba8f350948f6af8eec882614ef

Contents?: true

Size: 519 Bytes

Versions: 2

Compression:

Stored size: 519 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

2 entries across 2 versions & 1 rubygems

Version Path
map-kit-wrapper-0.0.5 lib/map-kit-wrapper.rb
map-kit-wrapper-0.0.4 lib/map-kit-wrapper.rb