Explorar el Código

Merge pull request #1226 from jcanizales/patch-1

Include 'source' attribute in the podspec
Paul Yang hace 9 años
padre
commit
e35e24800f
Se han modificado 1 ficheros con 3 adiciones y 0 borrados
  1. 3 0
      Protobuf.podspec

+ 3 - 0
Protobuf.podspec

@@ -11,6 +11,9 @@ Pod::Spec.new do |s|
   s.license  = 'New BSD'
   s.license  = 'New BSD'
   s.authors  = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
   s.authors  = { 'The Protocol Buffers contributors' => 'protobuf@googlegroups.com' }
 
 
+  s.source = { :git => 'https://github.com/google/protobuf.git',
+               :tag => "v#{s.version}" }
+
   s.source_files = 'objectivec/*.{h,m}',
   s.source_files = 'objectivec/*.{h,m}',
                    'objectivec/google/protobuf/Any.pbobjc.{h,m}',
                    'objectivec/google/protobuf/Any.pbobjc.{h,m}',
                    'objectivec/google/protobuf/Api.pbobjc.{h,m}',
                    'objectivec/google/protobuf/Api.pbobjc.{h,m}',