blob: fce913d8f23655e146ef744ba53640f3f24e58dd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
@echo off
set PYTHON=py -3
%PYTHON% --version >NUL 2>&1 || (
echo Error: failed to run Python with py -3 --version.
exit 1
)
set TOOLS_DIR=%~dp0
set PROJECT_DIR=%TOOLS_DIR%..
cd /d "%PROJECT_DIR%"
set PYTHONPATH=%PROJECT_DIR%\tools\cru-py;%PYTHONPATH%
%PYTHON% -m cru.service --project-dir "%PROJECT_DIR%" %*
|