1
0
mirror of https://github.com/uutils/coreutils synced 2024-07-05 17:08:59 +00:00
coreutils/util/show-code_coverage.BAT
2020-08-16 17:02:19 -05:00

17 lines
571 B
Batchfile

@setLocal
@echo off
@rem:: # spell-checker:ignore (shell/CMD) COMSPEC ERRORLEVEL
set "ME_dir=%~dp0."
set "REPO_main_dir=%ME_dir%\.."
set "ERRORLEVEL="
set "COVERAGE_REPORT_DIR=%REPO_main_dir%\target\debug\coverage-win"
call "%ME_dir%\build-code_coverage.BAT"
if ERRORLEVEL 1 goto _undefined_ 2>NUL || @for %%G in ("%COMSPEC%") do @title %%nG & @"%COMSPEC%" /d/c exit %ERRORLEVEL%
call start "" "%COVERAGE_REPORT_DIR%"\index.html
if ERRORLEVEL 1 goto _undefined_ 2>NUL || @for %%G in ("%COMSPEC%") do @title %%nG & @"%COMSPEC%" /d/c exit %ERRORLEVEL%