Sha256: 4e1fda19d9693caf9d2a7712dfaf274d21646a065bc7261d0b445bb0614a1bba

Contents?: true

Size: 897 Bytes

Versions: 2

Compression:

Stored size: 897 Bytes

Contents

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

require 'motion-require'
require 'motion-support/concern'
require 'motion-support/inflector'
require 'motion-support/core_ext'

files = Dir.glob(File.expand_path('../../lib/yapper/**/*.rb', __FILE__))
Motion::Require.all(files)

Motion::Project::App.setup do |app|
  app.detect_dependencies = false

  app.pods do
    pod 'YapDatabase'      ,'~> 2.4'
    pod 'CocoaLumberjack'  ,'~> 1.6.5'
    pod 'NSData+MD5Digest' ,'~> 1.0.0'
  end

  yap_patch = File.expand_path(File.join(File.dirname(__FILE__), '../vendor/YapDatabaseRubyMotion'))
  app.vendor_project(yap_patch,
                     :static,
                     :bridgesupport_cflags => "-I#{Dir.pwd}/vendor/Pods/Headers -fobjc-arc",
                     :cflags => "-I#{Dir.pwd}/vendor/Pods/Headers -fobjc-arc")

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
motion-yapper-0.0.3 lib/yapper.rb
motion-yapper-0.0.2 lib/yapper.rb