Sha256: 3355f00c6e223ebf49eeb2475203a3b3d2be286e966ad0001307620821a0435c

Contents?: true

Size: 481 Bytes

Versions: 2

Compression:

Stored size: 481 Bytes

Contents

require_relative "executor/pusher"

module Pod
  class Command
    class Binary < Command
      class Push < Binary
        self.arguments = [CLAide::Argument.new("CACHE-BRANCH", false)]

        def initialize(argv)
          super
          @pusher = PodPrebuild::CachePusher.new(
            config: prebuild_config,
            cache_branch: argv.shift_argument || "master"
          )
        end

        def run
          @pusher.run
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
cocoapods-binary-cache-0.1.6 lib/command/push.rb
cocoapods-binary-cache-0.1.5 lib/command/push.rb