Subversion Repositories DevTools

Rev

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

Rev Author Line No. Line
4381 tlittlef 1
@rem run_crucible_reporting.cmd
2
@rem Wrapper script for the python script for crucible reporting.
3
@echo off
4
 
4866 tlittlef 5
set PYTHON_EXE=c:\python34\python.exe
4381 tlittlef 6
if not exist %PYTHON_EXE% (
4866 tlittlef 7
    echo Install Python 3.4 from the following URL:
8
    echo https://www.python.org/ftp/python/3.4/python-3.4.2.msi
4381 tlittlef 9
    goto :end
10
)
11
 
12
if "%1" equ "--usage" (
13
    %PYTHON_EXE% crucible_reporting.py --usage
14
) else if "%1" neq "" (
15
    echo Report for month will be generated to %1.txt
5298 tlittlef 16
    %PYTHON_EXE% crucible_reporting.py %1 
4381 tlittlef 17
) else (
5298 tlittlef 18
    echo Report for previous month will be generated 
19
    %PYTHON_EXE% crucible_reporting.py 
4381 tlittlef 20
)
21
 
22
:end