lib/rake_dependencies/tasks/all.rb in rake_dependencies-0.16.1.pre2 vs lib/rake_dependencies/tasks/all.rb in rake_dependencies-0.16.1.pre3
- old
+ new
@@ -21,13 +21,15 @@
parameter :binary_directory, default: 'bin'
parameter :installation_directory
parameter :uri_template, :required => true
parameter :file_name_template, :required => true
- parameter :target_name_template
parameter :strip_path_template
+ parameter :source_binary_name_template
+ parameter :target_binary_name_template
+
parameter :needs_fetch, :required => true
parameter :clean_task_name, :default => :clean
parameter :download_task_name, :default => :download
parameter :extract_task_name, :default => :extract
@@ -84,11 +86,13 @@
t.distribution_directory = distribution_directory
t.binary_directory = binary_directory
t.file_name_template = file_name_template
t.strip_path_template = strip_path_template
- t.target_name_template = target_name_template
+
+ t.source_binary_name_template = source_binary_name_template
+ t.target_binary_name_template = target_binary_name_template
end
Install.new do |t|
t.name = install_task_name
t.dependency = dependency
@@ -97,10 +101,10 @@
t.type = type
t.os_ids = os_ids
t.binary_directory = binary_directory
- t.binary_name_template = target_name_template || dependency
+ t.binary_name_template = target_binary_name_template || dependency
t.installation_directory = installation_directory
end if installation_directory
Fetch.new do |t|
t.name = fetch_task_name