Sha256: b46a5706b494b8acf64672ea7b5660dfc7a8278c1634d0cd72d6a85958027a04
Contents?: true
Size: 903 Bytes
Versions: 1
Compression:
Stored size: 903 Bytes
Contents
require "motion-yandexmapkit/version" Motion::Project::App.setup do |app| yandexMapKitRoot = File.expand_path(File.dirname(__FILE__) + '/../YandexMapKit') app.vendor_project(yandexMapKitRoot, :static, headers_dir: 'Headers') my_frameworks = ['AVFoundation', 'CoreData', 'CoreLocation', 'QuartzCore', 'MessageUI', 'OpenGLES', 'Security', 'SystemConfiguration'] my_libs = ['/usr/lib/libsqlite3.dylib', '/usr/lib/libstdc++.dylib', '/usr/lib/libxml2.dylib', '/usr/lib/libz.dylib'] app.frameworks |= my_frameworks app.libs |= my_libs end namespace :yandexmapkit do desc "Install YandexMapKit support files" task :install do FileUtils.cp_r(File.expand_path(File.dirname(__FILE__) + '/../YandexMapKit/YandexMapKit.bundle'), Motion::Project::App.config.resources_dir + '/YandexMapKit.bundle') puts "Installed YandexMapKit support files to resources/ dir" end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
motion-yandexmapkit-0.0.1 | lib/motion-yandexmapkit.rb |