From 029103d47b0e98ff8b69590a56e88975f5aef70c Mon Sep 17 00:00:00 2001 From: Darren Griffin Date: Fri, 4 Jul 2025 17:13:16 +0100 Subject: [PATCH] Update Rakefile (#39846) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- Rakefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Rakefile b/Rakefile index 333be912563..0618ba5a17f 100644 --- a/Rakefile +++ b/Rakefile @@ -30,6 +30,8 @@ task :generate do abort("Generating alerts data failed") unless success success = system "rake version_data" abort("Generating version data failed") unless success + success = system "rake language_scores_data" + abort("Generating language scores data failed") unless success success = system "jekyll build" abort("Generating site failed") unless success if ENV["CONTEXT"] != 'production' @@ -67,6 +69,7 @@ task :preview, :listen do |t, args| system "compass compile --css-dir #{source_dir}/stylesheets" unless File.exist?("#{source_dir}/stylesheets/screen.css") system "rake analytics_data" system "rake version_data" + system "rake language_scores_data" system "rake alerts_data" jekyllPid = Process.spawn({"OCTOPRESS_ENV"=>"preview"}, "jekyll build -t --watch --incremental") compassPid = Process.spawn("compass watch")