Sha256: f70026c0d84c9d6519bb5acf9062ea28e3d3b5e3049b45889b8c0a56c81ba84f
Contents?: true
Size: 784 Bytes
Versions: 2
Compression:
Stored size: 784 Bytes
Contents
require_relative "executor/prebuilder" require_relative "../cocoapods-binary-cache/pod-binary/prebuild_dsl" module Pod class Command class Binary < Command class Prebuild < Binary self.arguments = [CLAide::Argument.new("CACHE-BRANCH", false)] def self.options [ ["--push", "Push cache to repo upon completion"] ] end def initialize(argv) super @prebuilder = PodPrebuild::CachePrebuilder.new( config: prebuild_config, cache_branch: argv.shift_argument || "master", push_cache: argv.flag?("push") ) end def run Pod::Podfile::DSL.prebuild_job = true @prebuilder.run end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-binary-cache-0.1.5 | lib/command/prebuild.rb |
cocoapods-binary-cache-0.1.3 | lib/command/prebuild.rb |