aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authoryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-10-04 14:34:29 +0900
committeryuuji.yaginuma <yuuji.yaginuma@gmail.com>2018-10-09 08:09:10 +0900
commit7c846d9c730f2d2b54a4ab81ec73b4905c56d193 (patch)
tree35e34cb4e8030a9388c72e92c04d8477c15341a4 /railties/lib
parentbd0ca39564bb2fc263c7a74a27d5f063c68b4dd8 (diff)
downloadrails-7c846d9c730f2d2b54a4ab81ec73b4905c56d193.tar.gz
rails-7c846d9c730f2d2b54a4ab81ec73b4905c56d193.tar.bz2
rails-7c846d9c730f2d2b54a4ab81ec73b4905c56d193.zip
Avoid `webpacker:install` if unnecessary
`webpacker:install` also includes execution of yarn, it takes time to execute, so avoid unnecessary tests.
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/rails/generators/rails/plugin/plugin_generator.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
index 9ec0ccbe7a..a018a98c53 100644
--- a/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
+++ b/railties/lib/rails/generators/rails/plugin/plugin_generator.rb
@@ -98,6 +98,7 @@ task default: :test
opts[:skip_listen] = true
opts[:skip_git] = true
opts[:skip_turbolinks] = true
+ opts[:skip_webpack_install] = true
opts[:dummy_app] = true
invoke Rails::Generators::AppGenerator,