class TYCiCore::EXE

Public Class Methods

exe(executable, command, raise_if_need = false) click to toggle source
# File lib/tuya/ci/core/executable.rb, line 3
def self.exe(executable, command, raise_if_need = false)
        require 'cocoapods'
        require 'cocoapods/executable'

        puts "Command is: #{command}".yellow

        Pod::Executable.execute_command(executable, command, raise_if_need)
end
multi_exe(executable, commands, raise_if_need = false) click to toggle source
# File lib/tuya/ci/core/executable.rb, line 12
def self.multi_exe(executable, commands, raise_if_need = false)
        commands.each do |command|
                exe(executable, command, raise_if_need)
        end
end