mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #34898 from ksolo/update-raketasks-for-new-frameworks
Add new frameworks to `tasks/release.rb`
This commit is contained in:
commit
ae4f7b4a0a
3 changed files with 18 additions and 1 deletions
|
@ -4,6 +4,8 @@ require "bundler/setup"
|
|||
require "bundler/gem_tasks"
|
||||
require "rake/testtask"
|
||||
|
||||
task :package
|
||||
|
||||
Rake::TestTask.new do |t|
|
||||
t.libs << "test"
|
||||
t.pattern = "test/**/*_test.rb"
|
||||
|
|
|
@ -4,6 +4,8 @@ require "bundler/setup"
|
|||
require "bundler/gem_tasks"
|
||||
require "rake/testtask"
|
||||
|
||||
task :package
|
||||
|
||||
Rake::TestTask.new do |t|
|
||||
t.libs << "test"
|
||||
t.pattern = "test/**/*_test.rb"
|
||||
|
|
|
@ -1,6 +1,19 @@
|
|||
# frozen_string_literal: true
|
||||
|
||||
FRAMEWORKS = %w( activesupport activemodel activerecord actionview actionpack activejob actionmailer actioncable activestorage railties )
|
||||
FRAMEWORKS = %w(
|
||||
activejob
|
||||
activemodel
|
||||
activerecord
|
||||
activestorage
|
||||
activesupport
|
||||
actioncable
|
||||
actionmailbox
|
||||
actionmailer
|
||||
actionpack
|
||||
actiontext
|
||||
actionview
|
||||
railties
|
||||
)
|
||||
FRAMEWORK_NAMES = Hash.new { |h, k| k.split(/(?<=active|action)/).map(&:capitalize).join(" ") }
|
||||
|
||||
root = File.expand_path("..", __dir__)
|
||||
|
|
Loading…
Reference in a new issue