From 4702ae3cd14e945be634d4696b9648d3db58cfa7 Mon Sep 17 00:00:00 2001 From: Sarah German Date: Wed, 6 Jul 2022 08:44:47 +0000 Subject: Improve SVG icon handling --- commands/frontend.rb | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'commands') diff --git a/commands/frontend.rb b/commands/frontend.rb index d8e662fd..dd00c599 100644 --- a/commands/frontend.rb +++ b/commands/frontend.rb @@ -28,16 +28,6 @@ run do |opts, args, cmd| ERROR end - puts 'Creating icons.svg ...' - root = File.expand_path('../', __dir__) - path = 'node_modules/@gitlab/svgs/dist/icons.svg' - - if File.write('public/assets/images/icons.svg', File.read("#{root}/#{path}")) - puts 'Done!' - else - puts 'Failed to create icons.svg!' - end - puts 'Copying GitLab UI CSS sourcemaps...' gl_ui_src = 'node_modules/@gitlab/ui/dist' gl_ui_dest = 'public/frontend/shared' -- cgit v1.2.3