lib/rake/funnel/tasks/zip.rb in rake-funnel-0.0.3.pre vs lib/rake/funnel/tasks/zip.rb in rake-funnel-0.0.4.pre

- old
+ new

@@ -23,10 +23,11 @@ desc "Zip #{files.join(', ')} to #{target}" task name do raise 'Target not defined' unless target - RakeFileUtils.mkdir_p(File.dirname(target)) + target_dir = File.dirname(target) + RakeFileUtils.mkdir_p(target_dir) unless File.directory?(target_dir) configure_zip create_zip(files, target) Rake.rake_output_message("Created #{target}")