Esempio n. 1
0
File: Front.py Progetto: XueHL/wudoo
def profilesChain(compilation, project, argsObj = None):
	if argsObj is None:
		argsObj = Console2obj.consoleaArgs2obj(DefaultArgsObj())
	if not (BuildProfiles.DEFAULT_PROFILE_NAME in argsObj.profile):
		argsObj.profile = [BuildProfiles.DEFAULT_PROFILE_NAME] + argsObj.profile
	for profileName in argsObj.profile:
		BuildProfiles.applyProfile(compilation, project, profileName, argsObj)
	LIBS_REG_OFFICE.setupArgsObj(argsObj, project.getRoot())
Esempio n. 2
0
	def testSysArgv(self):
		consInfo = Console2obj.consoleaArgs2obj()
		self.assertEquals({}, consInfo.__dict__)