under-os/under-os

View on GitHub
Rakefile

Summary

Maintainability
Test Coverage
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
require 'bundler'
Bundler.require

require 'motion-facon' if ARGV[0] == 'spec'

Motion::Project::App.setup do |app|
  app.name       = 'uos-demo'
  app.identifier = 'com.under-os.demo'
  app.specs_dir  = './gems/*/spec'
  app.version    = UnderOs::VERSION

  app.codesign_certificate = ENV['RUBYMOTION_CERTIFICATE']
  app.provisioning_profile = ENV['RUBYMOTION_PROFILE']

  if ARGV[0] == 'spec'
    app.name       = 'uos-spec'
    app.identifier = 'com.under-os.spec'
    app.resources_dirs.unshift "./gems/under-os-ui/spec/assets/"
  end
end