Skip to content

Commit

Permalink
Add freeze batch
Browse files Browse the repository at this point in the history
  • Loading branch information
karl-zschiebsch committed May 19, 2024
1 parent 04f9b54 commit 7e53599
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
8 changes: 8 additions & 0 deletions freeze.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
@echo off
echo Setting up virtual environment ...
python -m venv venv
echo Installing requirements ...
.\venv\Scripts\pip install -r requirements.txt cx_Freeze
echo Building binaries ...
start .\venv\Scripts\cxfreeze -c run_seekers.py --target-dir dist/seekers --include-files config.ini
start .\venv\Scripts\cxfreeze -c run_client.py --target-dir dist/client
2 changes: 1 addition & 1 deletion freeze.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ build_seekers() {

build_client() {
echo "Building client ..."
venv/bin/cxfreeze -c run_client.py --target-dir dist/client --include-files config.ini
venv/bin/cxfreeze -c run_client.py --target-dir dist/client
}

test() {
Expand Down

0 comments on commit 7e53599

Please sign in to comment.