Commit d62808df authored by Evaryont's avatar Evaryont

Delete old lighthouse results file, open new one in browser

parent 28ccd220
Pipeline #22 failed with stage
in 2 minutes and 10 seconds
......@@ -146,8 +146,11 @@ task :lighthouse do
launch_chrome
rm './lighthouse-results.html'
ENV['LIGHTHOUSE_CHROMIUM_PATH'] = "/usr/bin/chromium"
sh "lighthouse --quiet --view --output-path=./lighthouse-results.html --port=#{chromium_port} --no-enable-error-reporting #{url}"
sh "gio open ./lighthouse-results.html" if ENV['XDG_CURRENT_DESKTOP'] == 'GNOME'
end
task :resume2 do
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment