TrayTempo v0.2.0 : minuteur Pomodoro Windows en Nim avec interface intuitive

This commit is contained in:
2026-08-14 10:39:21 -04:00
commit 3218972ddf
26 changed files with 3154 additions and 0 deletions
+32
View File
@@ -0,0 +1,32 @@
@echo off
rem =====================================================================
rem Exécute toutes les suites de tests TrayTempo et affiche un résumé.
rem Sortie : exit code 0 si tout est vert, 1 sinon.
rem =====================================================================
setlocal enabledelayedexpansion
set PASS=0
set FAIL=0
for %%t in (test_timer test_stats test_config test_notifications test_tray_integration test_updater test_floating test_dialogs) do (
echo.
echo === %%t ===
nim c -r --hints:off tests\%%t.nim
if !errorlevel! equ 0 (
echo [PASS] %%t
set /a PASS+=1
) else (
echo [FAIL] %%t
set /a FAIL+=1
)
)
echo.
echo ==============================
echo Resultat : !PASS! reussi(s), !FAIL! echoue(s)
echo ==============================
if !FAIL! gtr 0 (
exit /b 1
)
exit /b 0