Skip to content

Commit 02fb65a

Browse files
committed
update script for run ParseDemo
1 parent 5c10109 commit 02fb65a

File tree

3 files changed

+10
-2
lines changed

3 files changed

+10
-2
lines changed

Cartfile.resolved

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
github "BoltsFramework/Bolts-ObjC" "1.9.1"
2-
github "facebook/facebook-ios-sdk" "v11.0.1"
2+
github "facebook/facebook-ios-sdk" "v15.1.0"

Carthage/Checkouts/facebook-ios-sdk

Submodule facebook-ios-sdk updated 2320 files

Rakefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -558,6 +558,7 @@ namespace :test do
558558

559559
namespace :parseui do
560560
task :all do
561+
Rake::Task['test:parseui:build_carthage'].invoke
561562
Rake::Task['test:parseui:framework'].invoke
562563
Rake::Task['test:parseui:demo_objc'].invoke
563564
end
@@ -583,6 +584,13 @@ namespace :test do
583584
end
584585
end
585586

587+
task :build_carthage do |_|
588+
if !system('carthage update facebook-ios-sdk --use-xcframeworks')
589+
puts 'Carthage Tests Failed!'
590+
exit(1)
591+
end
592+
end
593+
586594
task :demo_objc do
587595
task = XCTask::BuildTask.new do |t|
588596
t.directory = script_folder

0 commit comments

Comments
 (0)