diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-12 08:34:51 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2024-11-12 08:34:51 +0000 |
commit | 9725b6b0e5b34247ed9af2e26ba93a35feb4cc11 (patch) | |
tree | 1d79751b9d10b3bc844b9f044651bbc2e1bb6c7a | |
parent | 32bcc5903e5b3dbd4eb7957108a394f38c584504 (diff) | |
download | redmine-9725b6b0e5b34247ed9af2e26ba93a35feb4cc11.tar.gz redmine-9725b6b0e5b34247ed9af2e26ba93a35feb4cc11.zip |
Merge r23256 from trunk to 6.0-stable (#41729).
git-svn-id: https://svn.redmine.org/redmine/branches/6.0-stable@23257 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r-- | lib/tasks/icons.rake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/tasks/icons.rake b/lib/tasks/icons.rake index d26f4405a..e50c450a1 100644 --- a/lib/tasks/icons.rake +++ b/lib/tasks/icons.rake @@ -16,8 +16,6 @@ # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. unless Rails.env.production? - require "svg_sprite" - ICON_RELEASE_VERSION = "v3.19.0" ICON_DEFAULT_STYLE = "outline" SOURCE = URI.parse("https://raw.githubusercontent.com/tabler/tabler-icons/#{ICON_RELEASE_VERSION}/icons") @@ -121,6 +119,8 @@ unless Rails.env.production? end def generate_svg_sprite(input_path, sprite_path) + require "svg_sprite" + SvgSprite.call( input: input_path, name: 'icon', |