A platform for community discussion. Free, open, simple.
Skip compressing theme test files (#13619)
Penar Musaraj02999f5eb2b3
diff --git a/lib/tasks/assets.rake b/lib/tasks/assets.rakeindex 85debe82334..534e055bf9a 100644--- a/lib/tasks/assets.rake+++ b/lib/tasks/assets.rake@@ -281,6 +281,8 @@ task 'assets:precompile' => 'assets:precompile:before' domax_compress = max_compress?(info["logical_path"], locales)if File.exists?(_path)STDERR.puts "Skipping: #{file} already compressed"+ elsif file.include? "discourse/tests"+ STDERR.puts "Skipping: #{file}"elseproc.call dostart = Process.clock_gettime(Process::CLOCK_MONOTONIC)