Skip to content

Commit

Permalink
update script for run ParseDemo
Browse files Browse the repository at this point in the history
  • Loading branch information
vazarkevych committed Dec 3, 2022
1 parent 5c10109 commit 02fb65a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Cartfile.resolved
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
github "BoltsFramework/Bolts-ObjC" "1.9.1"
github "facebook/facebook-ios-sdk" "v11.0.1"
github "facebook/facebook-ios-sdk" "v15.1.0"
2 changes: 1 addition & 1 deletion Carthage/Checkouts/facebook-ios-sdk
Submodule facebook-ios-sdk updated 2320 files
8 changes: 8 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -558,6 +558,7 @@ namespace :test do

namespace :parseui do
task :all do
Rake::Task['test:parseui:build_carthage'].invoke
Rake::Task['test:parseui:framework'].invoke
Rake::Task['test:parseui:demo_objc'].invoke
end
Expand All @@ -583,6 +584,13 @@ namespace :test do
end
end

task :build_carthage do |_|
if !system('carthage update facebook-ios-sdk --use-xcframeworks')
puts 'Carthage Tests Failed!'
exit(1)
end
end

task :demo_objc do
task = XCTask::BuildTask.new do |t|
t.directory = script_folder
Expand Down

0 comments on commit 02fb65a

Please sign in to comment.