mirror of
https://github.com/discourse/discourse.git
synced 2026-08-07 03:35:32 -05:00
Skip compressing theme test files (#13619)
This commit is contained in:
@@ -281,6 +281,8 @@ task 'assets:precompile' => 'assets:precompile:before' do
|
||||
max_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}"
|
||||
else
|
||||
proc.call do
|
||||
start = Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
||||
|
||||
Reference in New Issue
Block a user