author | amit@thunder |
Wed, 10 Mar 2010 00:04:25 +0530 | |
changeset 44 | d0e9b52bda73 |
parent 41 | e54725be4df6 |
child 49 | 3b5f1341d6c6 |
permissions | -rw-r--r-- |
0
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
1 |
import glob, os, re, sys |
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
2 |
import subprocess |
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
3 |
import time |
41
e54725be4df6
Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents:
34
diff
changeset
|
4 |
import sys |
e54725be4df6
Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents:
34
diff
changeset
|
5 |
repo=sys.argv[1] |
e54725be4df6
Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents:
34
diff
changeset
|
6 |
|
34 | 7 |
xsl_loc='/home/hg/repos/SEES-hacks/SEESenv/scripts/' |
41
e54725be4df6
Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents:
34
diff
changeset
|
8 |
|
e54725be4df6
Changed paths dependent on repo location to be taken from the script also changed how the soup is printed
amit@thunder
parents:
34
diff
changeset
|
9 |
names = glob.glob(os.path.join(repo,'ch*.docbook')) |
0
8083d21c0020
The first commit of all the required files for the review app
amit@thunder
parents:
diff
changeset
|
10 |
for name in names: |
34 | 11 |
# command="xsltproc html-single.xsl %s > %s.html" %(name ,name.split('.')[0]) |
32
de7ac08f237b
Commiting a simple hook to do the auto build job
amit@thunder
parents:
29
diff
changeset
|
12 |
command="xsltproc %shtml-single.xsl %s > %s.html" %(xsl_loc, name ,name.split('.')[0]) |
de7ac08f237b
Commiting a simple hook to do the auto build job
amit@thunder
parents:
29
diff
changeset
|
13 |
|
34 | 14 |
print command |
15 |
subprocess.Popen(command,shell=True) |
|
16 |
time.sleep(10) |