@@ -13,17 +13,17 @@ SCRIPT_PATH = File.expand_path(File.dirname(__FILE__))
13
13
starters_path = File . join ( SCRIPT_PATH , 'ParseStarterProject' )
14
14
15
15
ios_version = ENV . fetch ( 'IOS_VERSION' )
16
- tvos_version = ENV . fetch ( 'TV_OS_VERSION' )
17
- watchos_version = ENV . fetch ( 'WATCH_OS_VERSION' )
18
16
ios_device_model = ENV . fetch ( 'IOS_DEVICE_MODEL' )
17
+ tvos_version = ENV . fetch ( 'TV_OS_VERSION' )
19
18
tv_device_model = ENV . fetch ( 'TV_DEVICE_MODEL' )
19
+ watchos_version = ENV . fetch ( 'WATCH_OS_VERSION' )
20
20
watch_device_model = ENV . fetch ( 'WATCH_DEVICE_MODEL' )
21
21
22
22
puts "IOS_VERSION: #{ ios_version } "
23
- puts "TV_OS_VERSION: #{ tvos_version } "
24
- puts "WATCH_OS_VERSION: #{ watchos_version } "
25
23
puts "IOS_DEVICE_MODEL: #{ ios_device_model } "
24
+ puts "TV_OS_VERSION: #{ tvos_version } "
26
25
puts "TV_DEVICE_MODEL: #{ tv_device_model } "
26
+ puts "WATCH_OS_VERSION: #{ watchos_version } "
27
27
puts "WATCH_DEVICE_MODEL: #{ watch_device_model } "
28
28
29
29
ios_simulator = "platform=\" iOS Simulator\" ,name=\" #{ ios_device_model } \" ,OS=\" #{ ios_version } \" "
@@ -115,6 +115,9 @@ namespace :build do
115
115
end
116
116
117
117
task :swift do
118
+ puts 'Running iOS Swift Starter Project'
119
+ puts "IOS_VERSION: #{ ios_version } "
120
+ puts "IOS_DEVICE_MODEL: #{ ios_device_model } "
118
121
project = 'ParseStarterProject-Swift'
119
122
ios_starters_path = File . join ( starters_path , 'iOS' , project )
120
123
task = XCTask ::BuildTask . new do |t |
@@ -141,6 +144,7 @@ namespace :build do
141
144
end
142
145
143
146
task :objc do
147
+ puts 'Running macOS ObjC Starter Project'
144
148
macos_starter_folder = File . join ( starters_path , 'OSX' , 'ParseOSXStarterProject' )
145
149
task = XCTask ::BuildTask . new do |t |
146
150
t . directory = macos_starter_folder
@@ -158,6 +162,7 @@ namespace :build do
158
162
end
159
163
160
164
task :swift do
165
+ puts 'Running macOS Swift Starter Project'
161
166
macos_starter_folder = File . join ( starters_path , 'OSX' , 'ParseOSXStarterProject-Swift' )
162
167
task = XCTask ::BuildTask . new do |t |
163
168
t . directory = macos_starter_folder
@@ -183,6 +188,9 @@ namespace :build do
183
188
end
184
189
185
190
task :swift do
191
+ puts 'Running tvOS Swift Starter Project'
192
+ puts "TV_OS_VERSION: #{ tvos_version } "
193
+ puts "TV_DEVICE_MODEL: #{ tv_device_model } "
186
194
tvos_starter_folder = File . join ( starters_path , 'tvOS' , 'ParseStarterProject-Swift' )
187
195
task = XCTask ::BuildTask . new do |t |
188
196
t . directory = tvos_starter_folder
@@ -208,6 +216,9 @@ namespace :build do
208
216
end
209
217
210
218
task :swift do
219
+ puts 'Running watchOS Swift Starter Project'
220
+ puts "WATCH_OS_VERSION: #{ watchos_version } "
221
+ puts "WATCH_DEVICE_MODEL: #{ watch_device_model } "
211
222
watchos_starter_folder = File . join ( starters_path , 'watchOS' , 'ParseStarterProject-Swift' )
212
223
task = XCTask ::BuildTask . new do |t |
213
224
t . directory = watchos_starter_folder
@@ -232,6 +243,7 @@ namespace :build do
232
243
end
233
244
234
245
task :objc do
246
+ puts 'Running Live Query ObjC Starter Project'
235
247
live_query_starter_folder = File . join ( SCRIPT_PATH , 'ParseLiveQuery' , 'Examples' )
236
248
task = XCTask ::BuildTask . new do |t |
237
249
t . directory = live_query_starter_folder
@@ -249,6 +261,7 @@ namespace :build do
249
261
end
250
262
251
263
task :swift do
264
+ puts 'Running Live Query Swift Starter Project'
252
265
live_query_starter_folder = File . join ( SCRIPT_PATH , 'ParseLiveQuery' , 'Examples' )
253
266
task = XCTask ::BuildTask . new do |t |
254
267
t . directory = live_query_starter_folder
0 commit comments