Rakefile in pauldowman-ec2onrails-0.9.10.0 vs Rakefile in pauldowman-ec2onrails-0.9.10.1

- old
+ new

@@ -8,10 +8,15 @@ end require "./echoe_config" desc "Run all gem-related tasks" -task :ec2onrails_gem => [:manifest, :package, :update_github_gemspec] +task :ec2onrails_gem => [:delete_ignored_files, :manifest, :package, :update_github_gemspec] + +desc "Delete files that are in .gitignore so they don't get added to the manifest" +task :delete_ignored_files do + File.read(".gitignore").each { |line| FileUtils.rm_f Dir.glob(line.strip) } +end desc "Update the GitHub gemspec file (/ec2onrails.gemspec)" task :update_github_gemspec => [:manifest, :package] do root_dir = File.dirname __FILE__ contents = File.open("#{root_dir}/pkg/ec2onrails-#{Ec2onrails::VERSION::STRING}/ec2onrails.gemspec", 'r').readlines