summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorMatthias H <apoc@sixserv.org>2015-03-09 05:00:59 +0100
committerMatthias H <apoc@sixserv.org>2015-03-09 05:00:59 +0100
commit2f70ebb1c50fb8876745dd5ceefe272607cc9698 (patch)
treecc1a52922527e23e68205e5eb10d16aa94baf251 /Rakefile
parent655d1e6e32466ea9b017b1ce7f603f7b2a57c72c (diff)
rake: yarn doc task
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 7bf643e3..1bd782ea 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,5 @@
require 'rake'
-require 'rake/gempackagetask'
+require 'rubygems/package_task'
task :default => [:buildext]
@@ -15,7 +15,7 @@ SPECFILE = 'rbot.gemspec'
# we must (and can) skip defining the gem packaging tasks.
if File.exist? SPECFILE
spec = eval(File.read(SPECFILE), nil, SPECFILE)
- Rake::GemPackageTask.new(spec) do |pkg|
+ Gem::PackageTask.new(spec) do |pkg|
pkg.need_zip = true
pkg.need_tar = true
end