summaryrefslogtreecommitdiff
path: root/lib/tasks
diff options
context:
space:
mode:
authorSarah Groff Hennigh-Palermo <sarah.groff.palermo@gmail.com>2019-05-29 20:24:15 +0000
committerMike Greiling <mike@pixelcog.com>2019-05-29 20:24:15 +0000
commit9377eb18224aaee188ff1f497c043c9fc3af3059 (patch)
treee656470b795ac169388bca0086471a13204936ee /lib/tasks
parentf3331579c29a2e5b1edf1c4d188fa6c3ef715817 (diff)
downloadgitlab-ce-9377eb18224aaee188ff1f497c043c9fc3af3059.tar.gz
Build visual_review_toolbar with webpack
It takes a lot of lines to move a script
Diffstat (limited to 'lib/tasks')
-rw-r--r--lib/tasks/gitlab/assets.rake6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tasks/gitlab/assets.rake b/lib/tasks/gitlab/assets.rake
index 7a42e4e92a0..a07ae3a418a 100644
--- a/lib/tasks/gitlab/assets.rake
+++ b/lib/tasks/gitlab/assets.rake
@@ -10,9 +10,15 @@ namespace :gitlab do
rake:assets:precompile
webpack:compile
gitlab:assets:fix_urls
+ gitlab:assets:compile_vrt
].each(&Gitlab::TaskHelpers.method(:invoke_and_time_task))
end
+ desc 'GitLab | Assets | Compile visual review toolbar'
+ task :compile_vrt do
+ system 'yarn', 'webpack-vrt'
+ end
+
desc 'GitLab | Assets | Clean up old compiled frontend assets'
task clean: ['rake:assets:clean']