lib/cocoapods-tdfire-binary/command/package.rb in cocoapods-tdfire-binary-1.0.5 vs lib/cocoapods-tdfire-binary/command/package.rb in cocoapods-tdfire-binary-1.0.6
- old
+ new
@@ -4,11 +4,11 @@
require 'cocoapods-tdfire-binary/binary_specification_refactor'
module Pod
class Command
class Binary < Command
- class Package < Binary
+ class Package < Binary
self.abstract_command = false
self.summary = '二进制打包'
self.description = <<-DESC
将源码打包成二进制,并压缩成 zip 包
DESC
@@ -40,10 +40,10 @@
private
def package(spec)
UI.section("Tdfire: package #{spec.name} ...") do
- system "pod package #{spec.name}.podspec --exclude-deps --force --no-mangle --spec-sources=#{@spec_sources || Tdfire::BinaryUrlManager.private_cocoapods_url}"
+ system "pod package #{spec.name}.podspec --exclude-deps --force --no-mangle --spec-sources=#{@spec_sources || Pod::Tdfire::BinaryUrlManager.private_cocoapods_url}"
end
end
def zip(spec)
framework_directory = "#{spec.name}-#{spec.version}/ios"
\ No newline at end of file