forked from OTGApps/BJCPStyleGuide
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
65 lines (55 loc) · 2.29 KB
/
Copy pathRakefile
File metadata and controls
65 lines (55 loc) · 2.29 KB
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
56
57
58
59
60
61
62
63
64
65
# -*- coding: utf-8 -*-
$:.unshift("/Library/RubyMotion/lib")
require 'motion/project/template/ios'
begin
require 'bundler'
Bundler.setup
Bundler.require
rescue LoadError
end
Motion::Project::App.setup do |app|
app.name = 'BJCPStyles'
app.deployment_target = "6.0"
app.device_family = [:iphone, :ipad]
app.interface_orientations = [:portrait, :landscape_left, :landscape_right, :portrait_upside_down]
app.identifier = 'com.yourcompany.BJCPStyles' # I don't like it, but I inherited this app identifier.
app.version = "16"
app.short_version = "2.2.1"
app.frameworks += ["/usr/lib/libsqlite3.dylib", "QuartzCore"]
app.prerendered_icon = true
app.icons = Dir.glob("resources/Icon*.png").map{|icon| icon.split("/").last}
app.info_plist['APP_STORE_ID'] = 293788663
app.info_plist['CFBundleURLTypes'] = [
{ 'CFBundleURLName' => 'com.yourcompany.BJCPStyles',
'CFBundleURLSchemes' => ['bjcpstyle', 'bjcp'] }
]
app.files_dependencies 'app/Screens/DetailScreen.rb' => 'app/Screens/SizeableWebScreen.rb'
app.files_dependencies 'app/Screens/IntroScreen.rb' => 'app/Screens/SizeableWebScreen.rb'
app.pods do
pod 'FlurrySDK'
pod 'Appirater'
pod 'Harpy'
pod 'TestFlightSDK'
pod 'SwipeView'
pod 'OpenInChrome'
pod 'SVProgressHUD'
end
app.vendor_project('vendor/ContainerSubscriptAccess', :static, :cflags => '-fobjc-arc')
app.development do
app.entitlements['get-task-allow'] = true
app.codesign_certificate = "iPhone Developer: Mark Rickert (YA2VZGDX4S)"
app.provisioning_profile = "/Users/mrickert/.provisioning/WildcardDevelopment.mobileprovision"
end
app.testflight do
app.testflight.api_token = ENV['testflight_api_token'] || abort("You need to set your Testflight API Token environment variable.")
app.testflight.team_token = '5f6f10ca05bf5be29ba522bc4e9c504f_MjM4MDE0MjAxMy0wNi0xOCAxMDoxNTo0Mi44MzEyODE'
app.entitlements['get-task-allow'] = false
app.codesign_certificate = "iPhone Distribution: Mohawk Apps, LLC (DW9QQZR4ZL)"
app.provisioning_profile = "./provisioning/adhoc.mobileprovision"
end
app.release do
app.entitlements['get-task-allow'] = false
app.codesign_certificate = "iPhone Distribution: Mohawk Apps, LLC (DW9QQZR4ZL)"
app.provisioning_profile = "./provisioning/release.mobileprovision"
end
end