File: install.bat

package info (click to toggle)
qm 1.1.3-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 8,628 kB
  • ctags: 10,249
  • sloc: python: 41,482; ansic: 20,611; xml: 12,837; sh: 485; makefile: 226
file content (15 lines) | stat: -rwxr-xr-x 804 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
rem This batch file takes in two arguments. The first is the path to your
rem python. The second is the path that you unzipped the windows files for
rem qm into (essentially, your QM install directory). For example, you 
rem run this file like so:
rem C:\> install.bat C:\PROGRA~1\PYTHON C:\QM
rem It creates the batch files to run qmtrack and qmtest and places them
rem in the bin directory. These batch files set the QM_INSTALL_PATH that
rem is used by setup_path.py to find the files associated with the
rem installation.

@echo off
echo set QM_INSTALL_PATH=%2 > BIN\QMTRACK.BAT
echo %1\PYTHON.EXE %2\BIN\QMTRACK %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >> BIN\QMTRACK.BAT
echo set QM_INSTALL_PATH=%2 > BIN\QMTEST.BAT
echo %1\PYTHON.EXE %2\BIN\QMTRACK %%1 %%2 %%3 %%4 %%5 %%6 %%7 %%8 %%9 >> BIN\QMTEST.BAT