Example #1
0
def init( p ):
	os.putenv("P4PORT", Constant.p4_addr)
	os.putenv("P4USER", "hadwin")
	os.putenv('P4PASSWD', '123456')
	if p.name == Constant.CableBay:
		global p4RemotePath 
		p4RemotePath = '//depot/ANDROID/BRANCH/CableBay/CableBay1.1/...'	
    #remove all p files
	checkDirs(p.workspace_path)
Example #2
0
def checkFile(p):
	checkDirs( p.workspace_path + "gen")
	checkDirs( p.workspace_path + "bin")
	checkDirs( p.workspace_path + "assets")