Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSarah German <sgerman@gitlab.com>2022-07-06 11:44:47 +0300
committerDavid O'Regan <doregan@gitlab.com>2022-07-06 11:44:47 +0300
commit4702ae3cd14e945be634d4696b9648d3db58cfa7 (patch)
tree4ab345f8bc837ddace17bd8d5736607036aa640c /commands
parentfedb6378a3c92274ba3b6031df0d34455594e4cc (diff)
Improve SVG icon handling
Diffstat (limited to 'commands')
-rw-r--r--commands/frontend.rb10
1 files changed, 0 insertions, 10 deletions
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'