Sha256: 92272ee0b75786156de8e72b960531d6e93748a337e966f3b096ea266f714c0f
Contents?: true
Size: 814 Bytes
Versions: 60
Compression:
Stored size: 814 Bytes
Contents
require 'ivy/target' module Ivy class Cachepath < Ivy::Target def parameter [ Parameter.new(:pathid, true), Parameter.new(:conf, false), Parameter.new(:inline, false), Parameter.new(:organisation, false), Parameter.new(:module, false), Parameter.new(:revision, false), Parameter.new(:branch, false), Parameter.new(:type, false), Parameter.new(:settingsRef, false), ] end def create_return_values path = ant_references.find { |current| current[0] == params[:pathid] }[1] raise "Could not get path for confs: #{params.inspect}" unless path && path.respond_to?(:list) path.list.map {|a| a.to_s } end protected def execute_ivy call_nested :ivy_cachepath => params end end end
Version data entries
60 entries across 60 versions & 3 rubygems