Files
RubyMotion/lib/motion/project/template/ios-custom-keyboard/files/Rakefile.erb
2014-08-27 15:50:45 +02:00

25 lines
651 B
Plaintext

# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios-extension.rb'
begin
require 'bundler'
Bundler.require
rescue LoadError
end
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = '<%= name %>'
app.info_plist['NSExtension'] = {
"NSExtensionAttributes" => {
"IsASCIICapable" => false,
"PrefersRightToLeft" => false,
"PrimaryLanguage" => "en-US",
"RequestsOpenAccess" => false
},
"NSExtensionPointIdentifier" => "com.apple.keyboard-service",
"NSExtensionPrincipalClass" => "KeyboardViewController"
}
end