mirror of
https://github.com/python/cpython.git
synced 2025-09-27 10:50:04 +00:00
Commit current version of the doc "dailybuild" script.
This commit is contained in:
parent
e8b2b67950
commit
2fbe856dc6
1 changed files with 4 additions and 4 deletions
|
@ -33,17 +33,17 @@ WWWROOT = '/data/ftp.python.org/pub/docs.python.org'
|
||||||
|
|
||||||
BRANCHES = [
|
BRANCHES = [
|
||||||
# checkout, target, isdev
|
# checkout, target, isdev
|
||||||
(BUILDROOT + '/python33', WWWROOT + '/dev', True),
|
(BUILDROOT + '/python33', WWWROOT + '/py3k', False),
|
||||||
|
(BUILDROOT + '/python34', WWWROOT + '/dev', True),
|
||||||
(BUILDROOT + '/python27', WWWROOT, False),
|
(BUILDROOT + '/python27', WWWROOT, False),
|
||||||
(BUILDROOT + '/python32', WWWROOT + '/py3k', False),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
def build_one(checkout, target, isdev):
|
def build_one(checkout, target, isdev):
|
||||||
print 'Doc autobuild started in %s' % checkout
|
print 'Doc autobuild started in %s' % checkout
|
||||||
os.chdir(checkout)
|
os.chdir(checkout)
|
||||||
print 'Running svn update'
|
print 'Running hg pull --update'
|
||||||
os.system('svn update')
|
os.system('/usr/local/bin/hg pull --update')
|
||||||
print 'Running make autobuild'
|
print 'Running make autobuild'
|
||||||
if os.WEXITSTATUS(os.system(
|
if os.WEXITSTATUS(os.system(
|
||||||
'cd Doc; make autobuild-%s' % (isdev and 'dev' or 'stable'))) == 2:
|
'cd Doc; make autobuild-%s' % (isdev and 'dev' or 'stable'))) == 2:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue