Class: PackageFramework
- Inherits:
-
Object
- Object
- PackageFramework
- Defined in:
- lib/package_framework.rb
Class Method Summary collapse
Class Method Details
.package(podspec) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/package_framework.rb', line 5 def self.package(podspec) Dir.chdir(Config.Bin_Repo_Path) spec_source = Config.Package_Source_repo command = "pod packagethk #{podspec} --force --exclude-deps --no-mangle --configuration=Debug --spec-sources=#{spec_source.join(',')}" puts "start package ..." puts command output = `#{command}` error = nil if $?.exitstatus != 0 error = output puts error Process.exit end puts output end |