From fad40690b908ef3f506cfa1678b9283be9103766 Mon Sep 17 00:00:00 2001 From: Akshay Birajdar Date: Wed, 25 Dec 2019 00:37:44 +0530 Subject: [PATCH] Update the assets precompile output as per rails 6 --- spec/support/outputs/rails_assets_precompile.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/support/outputs/rails_assets_precompile.txt b/spec/support/outputs/rails_assets_precompile.txt index bebd3a8f..0738de09 100644 --- a/spec/support/outputs/rails_assets_precompile.txt +++ b/spec/support/outputs/rails_assets_precompile.txt @@ -1 +1 @@ -if\ diff\ \-qrN\ ".*/deploy/current/vendor/assets/"\ "\./vendor/assets/"\ 2>/dev/null\ &&\ diff\ \-qrN\ ".*/deploy/current/app/assets/"\ "\./app/assets/"\ 2>/dev/null\s*then\s*echo\ "\-\-\-\-\->\ Skipping\ asset\ precompilation"\s*else\s*echo\ "\-\-\-\-\->\ Precompiling\ asset\ files"\s*RAILS_ENV="production"\ bundle\ exec\ rake\ assets:precompile\s*fi +if\ diff\ \-qrN\ ".*/deploy/current/vendor/assets/"\ "\./vendor/assets/"\ 2>/dev/null\ &&\ diff\ \-qrN\ ".*/deploy/current/app/assets/"\ "\./app/assets/"\ 2>/dev/null\ &&\ diff\ \-qrN\ ".*/deploy/current/app/javascript/"\ "\./app/javascript/"\ 2>/dev/null\s*then\s*echo\ "\-\-\-\-\->\ Skipping\ asset\ precompilation"\s*else\s*echo\ "\-\-\-\-\->\ Precompiling\ asset\ files"\s*RAILS_ENV="production"\ bundle\ exec\ rake\ assets:precompile\s*fi