test: add more metrics output

This commit is contained in:
Sören Weber 2023-10-30 22:24:06 +01:00
parent ba8ed7c6d4
commit 63a2c9c79c
No known key found for this signature in database
GPG key ID: BEC6D55545451B6D

View file

@ -28,7 +28,7 @@ if exist "config\testing" (
copy /e /i /y "..\hugo-theme-relearn\exampleSite\config\testing" "hugo\testing" copy /e /i /y "..\hugo-theme-relearn\exampleSite\config\testing" "hugo\testing"
) )
hugo%hugo_version% %config% --templateMetrics --templateMetricsHints --cleanDestinationDir --destination "public.%version%%hugo_prefix%%hugo_version%" >> "metrics.%version%%hugo_prefix%%hugo_version%.log" hugo%hugo_version% %config% --templateMetrics --templateMetricsHints --printI18nWarnings --printPathWarnings --printUnusedTemplates --printMemoryUsage --cleanDestinationDir --destination "public.%version%%hugo_prefix%%hugo_version%" >> "metrics.%version%%hugo_prefix%%hugo_version%.log"
set "start_dir=%CD%\public.%version%%hugo_prefix%%hugo_version%" set "start_dir=%CD%\public.%version%%hugo_prefix%%hugo_version%"
set "output_file=dir.%version%%hugo_prefix%%hugo_version%.log" set "output_file=dir.%version%%hugo_prefix%%hugo_version%.log"