Sha256: a21f6217b97b119cac5c0597d323a3a3f03a20b93d5914b07d82bb91039bec80

Contents?: true

Size: 866 Bytes

Versions: 1

Compression:

Stored size: 866 Bytes

Contents

require 'cocoapods-tdfire-binary/command/lint'
require 'cocoapods-tdfire-binary/command/package'
require 'cocoapods-tdfire-binary/command/publish'
require 'cocoapods-tdfire-binary/command/pull'
require 'cocoapods-tdfire-binary/command/push'
require 'cocoapods-tdfire-binary/command/assemble'
require 'cocoapods-tdfire-binary/command/lib'

module Pod
	class Command
		class Binary < Command
			self.abstract_command = true
			self.summary = '2Dfire 二进制工具库'
			self.description = <<-DESC
				2Dfire 二进制工具库,提供打包、lint、推送、拉取、发布等命令
      DESC

			# FIRE_FLAG = "2dfire"
			FIRE_FLAG = "private"

      def first_podspec
      	Dir["#{Dir.pwd}/*.podspec"].first
			end

			def fire_sources
				config.sources_manager.all.select do |source|
					source.url.downcase.include? FIRE_FLAG
				end
			end
		end
	end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
cocoapods-tdfire-binary-1.0.1 lib/cocoapods-tdfire-binary/command/binary.rb