-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathRakefile
55 lines (36 loc) · 2.38 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project'
require 'rubygems'
require 'motion-cocoapods'
Motion::Project::App.setup do |app|
# Use `rake config' to see complete project settings.rake
app.name = 'Slammmdunk'
app.provisioning_profile = 'MarkDev.mobileprovision'
app.sdk_version = "5.1"
app.frameworks << "QuartzCore"
app.frameworks << "CoreFoundation"
app.frameworks << "CoreText"
app.icons = ["[email protected]"]
app.info_plist['UIStatusBarStyle'] = "UIStatusBarStyleBlackOpaque"
app.info_plist['UIPrerenderedIcon'] = "true"
dirs = ['bubblewrap','sugarcube', 'teacup', 'styles', 'app']
app.files = dirs.map{|d| Dir.glob(File.join(app.project_dir, "#{d}/**/*.rb")) }.flatten
app.files_dependencies './app/app_delegate.rb' => './app/MCNavigationController.rb'
app.vendor_project( "vendor/PFGridView", :xcode,
:xcodeproj => "PFGridView.xcodeproj", :target => "PFGridView", :products => ["libPFGridView.a"],
:headers_dir => "PFGridView")
app.vendor_project( "vendor/WEPopover-lib", :xcode,
:xcodeproj => "WEPopover-lib.xcodeproj", :target => "WEPopover-lib", :products => ["libWEPopover-lib.a"],
:headers_dir => "WEPopover-lib")
app.vendor_project( "vendor/SVPullToRefresh", :xcode,
:xcodeproj => "SVPullToRefresh.xcodeproj", :target => "SVPullToRefresh", :products => ["libSVPullToRefresh.a"],
:headers_dir => "SVPullToRefresh")
app.vendor_project( "vendor/json-framework", :xcode, :xcodeproj => "SBJson.xcodeproj", :target => "sbjson-ios", :products => ["libsbjson-ios.a"], :headers_dir => "Classes")
# app.vendor_project("vendor/libThree20", :static, :products => ['libThree20.a'], :headers_dir => "headers")
# app.vendor_project("vendor/libThree20Core", :static, :products => ['libThree20Core.a'], :headers_dir => "headers")
# app.vendor_project("vendor/libThree20Network", :static, :products => ['libThree20Network.a'], :headers_dir => "headers")
# app.vendor_project("vendor/libThree20Style", :static, :products => ['libThree20Style.a'], :headers_dir => "headers")
# app.vendor_project("vendor/libThree20UICommon", :static, :products => ['libThree20UICommon.a'], :headers_dir => "headers")
# app.vendor_project("vendor/libThree20UI", :static, :products => ['libThree20UI.a'], :headers_dir => "headers")
# app.vendor_project("vendor/libThree20UINavigator", :static, :products => ['libThree20UINavigator.a'], :headers_dir => "headers")
end