aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorCarl Lerche <me@carllerche.com>2010-11-16 15:42:39 -0800
committerCarl Lerche <me@carllerche.com>2010-11-16 17:19:47 -0800
commit4ff8c59fb71de4d8d1c5066c73b110bce29e7aa5 (patch)
tree3c85c35eebc9547e32304b1081a08c9c7788a345 /Rakefile
parentfb5b2ba186c2a7741dd13d75e836762a90aaea7a (diff)
downloadrails-4ff8c59fb71de4d8d1c5066c73b110bce29e7aa5.tar.gz
rails-4ff8c59fb71de4d8d1c5066c73b110bce29e7aa5.tar.bz2
rails-4ff8c59fb71de4d8d1c5066c73b110bce29e7aa5.zip
Update the main Rakefile to use the new release tasks
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index a58d358369..9da84ee49b 100644
--- a/Rakefile
+++ b/Rakefile
@@ -5,6 +5,15 @@ require 'rake'
require 'rdoc/task'
require 'net/http'
+$:.unshift File.expand_path('..', __FILE__)
+require "tasks/release"
+
+desc "Build gem files for all projects"
+task :build => "all:build"
+
+desc "Release all gems to gemcutter and create a tag"
+task :release => ["all:release", "git:tag"]
+
# RDoc skips some files in the Rails tree due to its binary? predicate. This is a quick
# hack for edge docs, until we decide which is the correct way to address this issue.
# If not fixed in RDoc itself, via an option or something, we should probably move this