Sha256: 1ba157dbca06e83699d8e42b390a714bf194f7772263bf259cb0f9ff5a43f47d

Contents?: true

Size: 836 Bytes

Versions: 10

Compression:

Stored size: 836 Bytes

Contents

$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
require 'bundler'
require 'sugarcube-ui'
require 'sugarcube-color'
require 'sugarcube-factories'

$:.unshift("./lib/")
require './lib/ion_in_motion'

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

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

end

task :random_task do
  puts "Hello Random Task!"
end


task :spec do
  App.config.spec_mode = true
  spec_files = App.config.spec_files
  App.config.instance_variable_set("@spec_files", spec_files)
  Rake::Task["simulator"].invoke
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
ion_in_motion-0.2.0 Rakefile
ion_in_motion-0.1.9 Rakefile
ion_in_motion-0.1.8 Rakefile
ion_in_motion-0.1.7 Rakefile
ion_in_motion-0.1.6 Rakefile
ion_in_motion-0.1.5 Rakefile
ion_in_motion-0.1.4 Rakefile
ion_in_motion-0.1.3 Rakefile
ion_in_motion-0.1.2 Rakefile
ion_in_motion-0.1.1 Rakefile