class CarthagePods::CPodManage

Public Instance Methods

CPodfile_template() click to toggle source
# File lib/CPod/CPodManage.rb, line 6
    def CPodfile_template()
      <<-SPEC
# filterFramework ['RxTest.framework', 'RxBlocking.framework']
      SPEC
    end
createCPodfile() click to toggle source
# File lib/CPod/CPodManage.rb, line 12
def createCPodfile()

  cpodfile = File.new 'CPodfile', 'w'

  cpodfile.write(CPodfile_template())

  cpodfile.close

end
deleteCPodfile() click to toggle source
# File lib/CPod/CPodManage.rb, line 22
def deleteCPodfile()
  File.delete'CPodfile'
end
deleteFilterFramework(platformPath) click to toggle source
# File lib/CPod/CPodManage.rb, line 26
def deleteFilterFramework(platformPath)

  require 'CPod/EvalFilterFramework'

  $filterHash_value.each_value do |value|

    path = "Carthage/Build/#{platformPath}/#{value}"

    `rm -rf #{path}`

  end

end