diff --git a/tasks.rb b/tasks.rb index d77b8bd58d..a80bc6614a 100644 --- a/tasks.rb +++ b/tasks.rb @@ -2739,7 +2739,8 @@ def display_usage(command_list) exit! end - fonts_dir = File.join(File.dirname(__FILE__), 'documentation', '_static', 'fonts') + # Remove large fonts dir to keep package smaller + fonts_dir = File.join(File.dirname(__FILE__), 'documentation', '_static', 'css', 'fonts') if Dir.exist? fonts_dir FileUtils.rm_r(fonts_dir) end