Subversion Repositories DevTools

Rev

Rev 4866 | Blame | Compare with Previous | Last modification | View Log | RSS feed

@rem run_crucible_reporting.cmd
@rem Wrapper script for the python script for crucible reporting.
@echo off

set PYTHON_EXE=c:\python34\python.exe
if not exist %PYTHON_EXE% (
    echo Install Python 3.4 from the following URL:
    echo https://www.python.org/ftp/python/3.4/python-3.4.2.msi
    goto :end
)

if "%1" equ "--usage" (
    %PYTHON_EXE% crucible_reporting.py --usage
) else if "%1" neq "" (
    echo Report for month will be generated to %1.txt
    %PYTHON_EXE% crucible_reporting.py %1 
) else (
    echo Report for previous month will be generated 
    %PYTHON_EXE% crucible_reporting.py 
)

:end