diff options
author | sarahghp <sarah.groff.palermo@gmail.com> | 2019-05-29 12:29:31 -0400 |
---|---|---|
committer | sarahghp <sarah.groff.palermo@gmail.com> | 2019-05-29 12:29:31 -0400 |
commit | fc002ee8c388c46ca76bb972ffbca245793349e4 (patch) | |
tree | e05e6e36ae669b70008b2c7ca6df253d451abc51 | |
parent | 55a66fd45fc4d3afd0d79d412200b188b87b1195 (diff) | |
download | gitlab-ce-61646-vrt-webpack.tar.gz |
Add vrt to compile task61646-vrt-webpack
-rw-r--r-- | lib/tasks/gitlab/assets.rake | 6 |
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'] |