예제 #1
0
파일: P4.py 프로젝트: hadwinzhy/build-tools
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)
예제 #2
0
def checkFile(p):
	checkDirs( p.workspace_path + "gen")
	checkDirs( p.workspace_path + "bin")
	checkDirs( p.workspace_path + "assets")