Sha256: 8b345d9297526a65d3a74a9483ac5fdfbca9140d92150b0c6daaba35275d4187
Contents?: true
Size: 1.8 KB
Versions: 1
Compression:
Stored size: 1.8 KB
Contents
require_relative "tool/tool" module Pod class Podfile module DSL @binary_cache_config = {} @binary_cache_cli_config = {} def config_cocoapods_binary_cache(options) Pod::Podfile::DSL.binary_cache_config = options end class << self attr_accessor :binary_cache_config attr_accessor :binary_cache_cli_config def prebuild_config @binary_cache_config[:prebuild_config] || "Debug" end def prebuild_job? @binary_cache_cli_config[:prebuild_job] || @binary_cache_config[:prebuild_job] end def prebuild_all_pods? @binary_cache_cli_config[:prebuild_all_pods] || @binary_cache_config[:prebuild_all_pods] end def excluded_pods @binary_cache_config[:excluded_pods] || Set.new end def dev_pods_enabled? @binary_cache_config[:dev_pods_enabled] end def bitcode_enabled? @binary_cache_config[:bitcode_enabled] end def device_build_enabled? @binary_cache_config[:device_build_enabled] end def disable_dsym? @binary_cache_config[:disable_dsym] end def dont_remove_source_code? @binary_cache_config[:dont_remove_source_code] end def build_args @binary_cache_config[:build_args] end def save_cache_validation_to @binary_cache_config[:save_cache_validation_to] end def validate_prebuilt_settings @binary_cache_config[:validate_prebuilt_settings] end def prebuild_code_gen @binary_cache_config[:prebuild_code_gen] end def targets_to_prebuild_from_cli @binary_cache_cli_config[:prebuild_targets] || [] end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cocoapods-binary-cache-0.1.6 | lib/cocoapods-binary-cache/pod-binary/prebuild_dsl.rb |