mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-18 23:06:58 +00:00
Update Rakefile (#39846)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
18f7cdf726
commit
029103d47b
3
Rakefile
3
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")
|
||||
|
Loading…
x
Reference in New Issue
Block a user