diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-10-04 14:34:29 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2018-10-09 08:09:10 +0900 |
commit | 7c846d9c730f2d2b54a4ab81ec73b4905c56d193 (patch) | |
tree | 35e34cb4e8030a9388c72e92c04d8477c15341a4 /railties/lib | |
parent | bd0ca39564bb2fc263c7a74a27d5f063c68b4dd8 (diff) | |
download | rails-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.rb | 1 |
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, |