-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompile_protocol_tester.bat
More file actions
31 lines (24 loc) · 987 Bytes
/
compile_protocol_tester.bat
File metadata and controls
31 lines (24 loc) · 987 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
rem Remember to install PyInstaller
rem pip3 install PyInstaller
set /p Version=<wst_protocol_test_version.txt
set filein=perform_wst_protocol_test.py
set fileout=WST_CAN_protocol_test.V%Version%
echo %filein%
python -m PyInstaller --onefile --clean --icon=wst.ico --name %fileout% %filein%
set filein=test_baudrate_change.py
set fileout=test_baudrate_change.V%Version%
echo %filein%
python -m PyInstaller --onefile --clean --icon=wst.ico --name %fileout% %filein%
set filein=test_can_charge.py
set fileout=test_can_charge.V%Version%
echo %filein%
python -m PyInstaller --onefile --clean --icon=wst.ico --name %fileout% %filein%
set filein=test_custom_params.py
set fileout=test_custom_params.V%Version%
echo %filein%
python -m PyInstaller --onefile --clean --icon=wst.ico --name %fileout% %filein%
set filein=test_0x68E_0x68D_mode.py
set fileout=test_0x68E_0x68D_mode.V%Version%
echo %filein%
python -m PyInstaller --onefile --clean --icon=wst.ico --name %fileout% %filein%
pause