summaryrefslogtreecommitdiff
path: root/allkits.cmd
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2010-01-10 21:20:36 -0500
committerNed Batchelder <ned@nedbatchelder.com>2010-01-10 21:20:36 -0500
commit011ba2034f411d8a581841efea693740a0146737 (patch)
treed586f2d744ee333587c355bc287db00dacd55199 /allkits.cmd
parent8681e1d0e2ed59402b6c98fc2928ea218e2c431f (diff)
downloadpython-coveragepy-011ba2034f411d8a581841efea693740a0146737.tar.gz
Use loops instead of all that repetition.
Diffstat (limited to 'allkits.cmd')
-rw-r--r--allkits.cmd19
1 files changed, 5 insertions, 14 deletions
diff --git a/allkits.cmd b/allkits.cmd
index a0685ee..0d000a4 100644
--- a/allkits.cmd
+++ b/allkits.cmd
@@ -1,20 +1,11 @@
@REM Build all the kits for coverage.py
@REM Add "upload" onto the command line to also upload.
-call \ned\bin\switchpy 23
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 24
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 25
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 26
-python setup.py bdist_wininst %1
-call \ned\bin\switchpy 27
-python setup.py bdist_wininst %1
+for %%v in (23 24 25 26 27 31) do (
+ call \ned\bin\switchpy %%v
+ python setup.py bdist_wininst %1
+ )
+call \ned\bin\switchpy 26
set TAR_OPTIONS=--group=100
python setup.py sdist --formats=gztar %1
set TAR_OPTIONS=
-
-@REM Py3k
-call \ned\bin\switchpy 31
-python setup.py bdist_wininst %1