Ejemplo n.º 1
0
def runcdphzDebug(config):
    version = ['0']
    generate_mainfest('cdphz', 'debug', config['cdphz_res'],
                      config['dating_root'], version)
    curVersion = version[0]
    print '--------------------------- 传输到 测试机器 -------------------------------------'
    os.system('cd ~/Sites/desgame/res/child && rsync -av cdphz ' +
              config['debug_tran'] + '/des/res/child')
    print '------ 常德跑胡子 debug version= ' + curVersion
    action_tool.lookVersion('2', config['lookver_url'])
    action_tool.setVersion('2', curVersion, config['updtver_url'])
Ejemplo n.º 2
0
def runDatingDebug(config):
    version = ['0']
    generate_mainfest('debug', config['dating_res'], config['dating_root'],
                      version)
    curVersion = version[0]
    print '--------------------------- 传输到 测试机器 -------------------------------------'
    os.system('cd ~/Sites/desgame && rsync -av project.manifest ' +
              config['debug_tran'] + '/des')
    os.system('cd ~/Sites/desgame && rsync -av version.manifest ' +
              config['debug_tran'] + '/des')
    os.system('cd ~/Sites/desgame/res && rsync --exclude=child/ ./ ' +
              config['debug_tran'] + '/des/res -av')
    print '------ 大厅 debug version= ' + curVersion
    action_tool.lookVersion('0', config['lookver_url'])
    action_tool.setVersion('0', curVersion, config['updtver_url'])