Subversion Repositories DevTools

Rev

Rev 4381 | Rev 4866 | Go to most recent revision | 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
 
5
set PYTHON_EXE=c:\python27\python.exe
6
if not exist %PYTHON_EXE% (
7
    echo Install Python 2.7 from the following URL:
8
    echo https://www.python.org/ftp/python/2.7.7/python-2.7.7.msi
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
16
    %PYTHON_EXE% crucible_reporting.py %1 > %1.txt
17
) else (
18
    echo Report for previous month will be generated to standard output
4420 tlittlef 19
    %PYTHON_EXE% --verbose crucible_reporting.py 
4381 tlittlef 20
)
21
 
22
:end