Skip to content

Commit

Permalink
Run unit tests in makedistro
Browse files Browse the repository at this point in the history
  • Loading branch information
machinewrapped committed May 4, 2024
1 parent 512a723 commit 2b5eacf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions scripts/makedistro.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,11 @@ pip install --upgrade -r requirements.txt
pip install --upgrade openai
pip install --upgrade google.generativeai
pip install --upgrade anthropic

python.exe tests/unit_tests.py
if %errorlevel% neq 0 (
echo Unit tests failed. Exiting...
exit /b %errorlevel%
)

pyinstaller --noconfirm --additional-hooks-dir="PySubtitleHooks" --add-data "theme/*;theme/" --add-data "assets/*;assets/" --add-data "instructions*;instructions/" --add-data "LICENSE;." "scripts/gui-subtrans.py"

0 comments on commit 2b5eacf

Please sign in to comment.