lib/command/prebuild.rb in cocoapods-binary-cache-0.1.8 vs lib/command/prebuild.rb in cocoapods-binary-cache-0.1.9

- old
+ new

@@ -7,10 +7,11 @@ class Prebuild < Binary self.arguments = [CLAide::Argument.new("CACHE-BRANCH", false)] def self.options [ ["--config", "Config (Debug, Test...) to prebuild"], + ["--repo-update", "Update pod repo before installing"], ["--push", "Push cache to repo upon completion"], ["--all", "Prebuild all binary pods regardless of cache validation"], ["--targets", "Targets to prebuild. Use comma (,) to specify a list of targets"] ].concat(super) end @@ -26,9 +27,10 @@ ) update_cli_config(:prebuild_targets => prebuild_targets) unless prebuild_all_pods @prebuilder = PodPrebuild::CachePrebuilder.new( config: prebuild_config, cache_branch: argv.shift_argument || "master", + repo_update: argv.flag?("repo-update"), push_cache: argv.flag?("push") ) end def run