Sha256: 7cf0f383fa167d1843de63c60f8f5d6161964a1186a562f0502138fed39d30a9
Contents?: true
Size: 819 Bytes
Versions: 83
Compression:
Stored size: 819 Bytes
Contents
namespace :config do desc "print Pkg::Config values for this repo" task :print => 'pl:fetch' do Pkg::Util.filter_configs.each do |key, value| puts "#{key}: #{value}" end end task :print_hosts => 'pl:fetch' do Pkg::Util.filter_configs('host').each do |key, value| puts "#{key}: #{value}" end end desc "print environment variables that can override build-data and build_defaults" task :environment_variables do Pkg::Params::ENV_VARS.each do |values| type = case values[:type] when :array "expects one or more space, comma, or semicolon delimited value; treated as an array" when :bool "expects a boolean value" end msg = "#{values[:var]}: #{values[:envvar]}" msg += " (#{type})" if type puts msg end end end
Version data entries
83 entries across 83 versions & 1 rubygems