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

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2023-08-31 03:07:06 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2023-08-31 03:07:06 +0300
commita3df40b2c393e1540d237938240ee12d2774cd13 (patch)
treee37c37374aabe93db474e85fe2615f88dbbd0566 /Rakefile
parentc34d58a898c8e3c6d70609e2e6e4329df40c5aad (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'Rakefile')
-rwxr-xr-xRakefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 4db94c50130..36176721e13 100755
--- a/Rakefile
+++ b/Rakefile
@@ -11,6 +11,10 @@ require File.expand_path('config/application', __dir__)
relative_url_conf = File.expand_path('config/initializers/relative_url', __dir__)
require relative_url_conf if File.exist?("#{relative_url_conf}.rb")
+# This is the only way to change how vite_ruby works for rake tasks
+# See https://github.com/ElMassimo/vite_ruby/blob/vite_ruby%403.3.4/vite_ruby/lib/tasks/vite.rake#L58
+ENV['VITE_RUBY_SKIP_ASSETS_PRECOMPILE_EXTENSION'] = 'true'
+
Gitlab::Application.load_tasks
Knapsack.load_tasks if defined?(Knapsack)