From 67f5d611f5735a6444314ae1819938e63f0d174b Mon Sep 17 00:00:00 2001 From: Yehuda Katz Date: Mon, 31 Aug 2009 17:20:44 -0700 Subject: Add rake gemspec and gemspecs to the repo --- actionmailer/Rakefile | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'actionmailer/Rakefile') diff --git a/actionmailer/Rakefile b/actionmailer/Rakefile index ebcca0d246..0224bb2cf4 100644 --- a/actionmailer/Rakefile +++ b/actionmailer/Rakefile @@ -78,6 +78,11 @@ Rake::GemPackageTask.new(spec) do |p| p.need_zip = true end +task :gemspec do + File.open(File.join(File.dirname(__FILE__), "#{spec.name}.gemspec"), "w") do |file| + file.puts spec.to_ruby + end +end desc "Publish the API documentation" task :pgem => [:package] do -- cgit v1.2.3