Sha256: 128c4e97e81ab21f4c41f1f2831d21cdcc7f378259d76517b2b167b2ad152ac5

Contents?: true

Size: 794 Bytes

Versions: 120

Compression:

Stored size: 794 Bytes

Contents

task 'cfpropertylist' do
  if defined? Pkg::Config and Pkg::Config.project_root
    cfp_version = "2.2.7"
    libdir = File.join(Pkg::Config.project_root, "lib")
    source = "https://github.com/ckruse/CFPropertyList/archive/cfpropertylist-#{cfp_version}.tar.gz"
    target_dir = Pkg::Util::File.mktemp
    target = File.join(target_dir, "cfpropertylist")
    Pkg::Util::Net.fetch_uri(source, target)
    Pkg::Util::File.untar_into(target, target_dir, "--strip-components 1")
    mv(Dir.glob("#{File.join(target_dir, "lib")}/cfpropertylist*"), libdir)
    mv(Dir.glob("#{target_dir}/{LICENSE,README,THANKS}"), File.join(libdir, "cfpropertylist"))
  else
    warn "It looks like the packaging tasks have not been loaded. You'll need to `rake package:bootstrap` before using this task"
  end
end

Version data entries

120 entries across 120 versions & 1 rubygems

Version Path
puppet-4.10.12 tasks/cfpropertylist.rake
puppet-4.10.12-x86-mingw32 tasks/cfpropertylist.rake
puppet-4.10.12-x64-mingw32 tasks/cfpropertylist.rake
puppet-4.10.12-universal-darwin tasks/cfpropertylist.rake
puppet-4.10.11 tasks/cfpropertylist.rake
puppet-4.10.11-x86-mingw32 tasks/cfpropertylist.rake
puppet-4.10.11-x64-mingw32 tasks/cfpropertylist.rake
puppet-4.10.11-universal-darwin tasks/cfpropertylist.rake
puppet-4.10.10 tasks/cfpropertylist.rake
puppet-4.10.10-x86-mingw32 tasks/cfpropertylist.rake
puppet-4.10.10-x64-mingw32 tasks/cfpropertylist.rake
puppet-4.10.10-universal-darwin tasks/cfpropertylist.rake
puppet-4.10.9 tasks/cfpropertylist.rake
puppet-4.10.9-x86-mingw32 tasks/cfpropertylist.rake
puppet-4.10.9-x64-mingw32 tasks/cfpropertylist.rake
puppet-4.10.9-universal-darwin tasks/cfpropertylist.rake
puppet-4.10.8 tasks/cfpropertylist.rake
puppet-4.10.8-x86-mingw32 tasks/cfpropertylist.rake
puppet-4.10.8-x64-mingw32 tasks/cfpropertylist.rake
puppet-4.10.8-universal-darwin tasks/cfpropertylist.rake