Sha256: eece95e4bf6c2cdc11696b70602053e132c4f0a2600dc3bb7324d79216617ab9

Contents?: true

Size: 912 Bytes

Versions: 3

Compression:

Stored size: 912 Bytes

Contents

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

require 'motion-cocoapods'

load 'setup/setup.rb'
# require 'ionicons'
# require 'ion'

Motion::Project::App.setup do |app|


  app.pods do
    pod "ionicons"
  end

  if Dir.exists?("vendor/Pods/ionicons")
    unless File.exists?("vendor/Pods/ionicons/ionicons/README.md")
      readme_text = Object.const_defined?('SetupIon') ? SetupIon.readme_text : "readme"
      File.open("vendor/Pods/ionicons/ionicons/README.md", 'w') {|f| f.write(readme_text)}
      # File.open("vendor/Pods/ionicons/ionicons/README.md", 'w') {|f| f.write(SetupIon.readme_text)}
    end
  end

  app.fonts = ["ionicons.ttf"]

  Dir.glob(File.join(File.dirname(__FILE__), 'ion/*.rb')).each do |file|
    app.files.unshift(file)

  end


   app.resources_dirs << File.join(File.dirname(__FILE__), 'resources')




end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ion_in_motion-0.2.0 lib/ion_in_motion.rb
ion_in_motion-0.1.9 lib/ion_in_motion.rb
ion_in_motion-0.1.3 lib/ion_in_motion.rb