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:
authorMarcel Amirault <mamirault@gitlab.com>2022-07-06 13:36:47 +0300
committerEvan Read <eread@gitlab.com>2022-07-06 13:36:47 +0300
commit17ba820448e999d683b17950d65541a64f4182ba (patch)
tree13bfe7c1763be4ec232add36131df86449cac821 /commands
parented8428aa294b7c51fc332e60ad3a589f2db15656 (diff)
Revert "Merge branch 'safari-svgs' into 'main'"
Diffstat (limited to 'commands')
-rw-r--r--commands/frontend.rb10
1 files changed, 10 insertions, 0 deletions
diff --git a/commands/frontend.rb b/commands/frontend.rb
index dd00c599..d8e662fd 100644
--- a/commands/frontend.rb
+++ b/commands/frontend.rb
@@ -28,6 +28,16 @@ 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'