-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathRakefile
More file actions
20 lines (16 loc) · 762 Bytes
/
Rakefile
File metadata and controls
20 lines (16 loc) · 762 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.
app.name = 'drop'
app.frameworks += ['CoreData', 'CFNetwork', 'Security', 'SystemConfiguration', 'QuartzCore', 'libc++.dylib']
app.vendor_project 'vendor/Dropbox.framework', :static, :products => ['Dropbox'], :headers_dir => 'Headers'
app.files += Dir.glob(File.join(app.project_dir, 'app/lib/**/*.rb')) |
Dir.glob(File.join(app.project_dir, 'app/**/*.rb'))
app.info_plist['CFBundleURLTypes'] = [
{ 'CFBundleTypeRole' => 'Editor',
'CFBundleURLName' => 'Dropbox',
'CFBundleURLSchemes' => ['db-xoit9j3uwj9vmdv'] }
]
end