Sha256: 0bd4b6dca9e1c1c2e3e2053e10c987f58967acbf3385f18df28163d04f707fc7

Contents?: true

Size: 480 Bytes

Versions: 11

Compression:

Stored size: 480 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

11 entries across 11 versions & 3 rubygems

Version Path
cocoapods-binary-cache-next-0.1.16 lib/command/push.rb
cocoapods-binary-cache-next-0.1.15 lib/command/push.rb
cocoapods-binary-ht-1.0.0 lib/command/push.rb
cocoapods-binary-cache-0.1.14 lib/command/push.rb
cocoapods-binary-cache-0.1.13 lib/command/push.rb
cocoapods-binary-cache-0.1.12 lib/command/push.rb
cocoapods-binary-cache-0.1.11 lib/command/push.rb
cocoapods-binary-cache-0.1.10 lib/command/push.rb
cocoapods-binary-cache-0.1.9 lib/command/push.rb
cocoapods-binary-cache-0.1.8 lib/command/push.rb
cocoapods-binary-cache-0.1.7 lib/command/push.rb