summaryrefslogtreecommitdiff
path: root/lib/rake/gempackagetask.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rake/gempackagetask.rb')
-rw-r--r--lib/rake/gempackagetask.rb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/rake/gempackagetask.rb b/lib/rake/gempackagetask.rb
new file mode 100644
index 0000000..5f1fc4d
--- /dev/null
+++ b/lib/rake/gempackagetask.rb
@@ -0,0 +1,15 @@
+# rake/gempackagetask is deprecated in favor of rubygems/package_task
+
+warn 'rake/gempackagetask is deprecated. Use rubygems/package_task instead'
+
+require 'rubygems'
+require 'rubygems/package_task'
+
+require 'rake'
+
+# :stopdoc:
+
+module Rake
+ GemPackageTask = Gem::PackageTask
+end
+