class CarthagePods::InstallCommand
Public Instance Methods
execute()
click to toggle source
# File lib/Command/InstallCommand.rb, line 12 def execute platformType = {"osx" => "macOS", "ios" => "iOS", "watchos" => "watchOS", "tvos" => "tvOS"} carthageManage = CarthageManage.new cocoaPodsManage = CocoaPodsManage.new cpodManage = CPodManage.new @@carthageArg['platform'] = "platform #{platformType[cocoaPodsManage.getPlatformType]}" carthageManage.install @@carthageArg cpodManage.deleteFilterFramework cocoaPodsManage.platformToCarthagePath(cocoaPodsManage.getPlatformType) cocoaPodsManage.generatePodspec cocoaPodsManage.install @@cocoapodsArg end