# -*- coding: utf-8 -*-
$:.unshift(File.expand_path('../../../lib', __FILE__))
require 'motion/project/template/ios'

ENV['output'] ||= 'pretty_spec_dox'

Motion::Project::App.setup do |app|
  # Use `rake config' to see complete project settings.
  app.name = 'MacBacon UI'
  app.interface_orientations = [:portrait, :landscape_left, :landscape_right, :portrait_upside_down]
  app.frameworks << 'CoreGraphics'
  app.archs['iPhoneSimulator'] = [ENV['ARCH']] if ENV['ARCH']

  app.spec_files.insert(1, *FileList['../../lib/motion/util/version.rb', '../helpers/*.rb'])
  if ENV['deployment_target']
    app.deployment_target = ENV['deployment_target']
  else
    ENV['deployment_target'] = app.deployment_target
  end
end

