aboutsummaryrefslogtreecommitdiffstats
path: root/Rakefile
diff options
context:
space:
mode:
authorRafael França <rafaelmfranca@gmail.com>2015-12-17 13:33:41 -0200
committerRafael França <rafaelmfranca@gmail.com>2015-12-17 13:33:41 -0200
commit0ff5fa14a3d4c849bcd1e98de3db48de4b96190c (patch)
treed9f47d30847d4fcf18ba397b8588f7fc4a301411 /Rakefile
parent606c435450fbbeba758c2a1b438b9fcb47bba5a8 (diff)
parentcbed6163f1646bd9b12c5d9e034bfd73f08f5ae8 (diff)
downloadrails-0ff5fa14a3d4c849bcd1e98de3db48de4b96190c.tar.gz
rails-0ff5fa14a3d4c849bcd1e98de3db48de4b96190c.tar.bz2
rails-0ff5fa14a3d4c849bcd1e98de3db48de4b96190c.zip
Merge pull request #22637 from arunagw/aa-add-actioncable-to-build-step
Add actioncable to build step for release
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/Rakefile b/Rakefile
index 2ec39a1c85..c0b9128eff 100644
--- a/Rakefile
+++ b/Rakefile
@@ -10,8 +10,6 @@ task :build => "all:build"
desc "Release all gems to rubygems and create a tag"
task :release => "all:release"
-PROJECTS = %w(activesupport activemodel actionpack actionview actionmailer activerecord railties activejob)
-
desc 'Run all tests by default'
task :default => %w(test test:isolated)
@@ -19,7 +17,7 @@ task :default => %w(test test:isolated)
desc "Run #{task_name} task for all projects"
task task_name do
errors = []
- PROJECTS.each do |project|
+ FRAMEWORKS.each do |project|
system(%(cd #{project} && #{$0} #{task_name})) || errors << project
end
fail("Errors in #{errors.join(', ')}") unless errors.empty?
@@ -28,7 +26,7 @@ end
desc "Smoke-test all projects"
task :smoke do
- (PROJECTS - %w(activerecord)).each do |project|
+ (FRAMEWORKS - %w(activerecord)).each do |project|
system %(cd #{project} && #{$0} test:isolated)
end
system %(cd activerecord && #{$0} sqlite3:isolated_test)