зеркало из https://github.com/microsoft/pbuild.git
Bump version number in OM, PBUILD support for OMS
This commit is contained in:
Родитель
618883344a
Коммит
4a35ee8fd6
17
project.py
17
project.py
|
@ -22,7 +22,7 @@ class ProjectFactory:
|
|||
# Return true if a project is valid (false otherwise)
|
||||
#
|
||||
def Validate(self):
|
||||
if self.project in ['apache', 'cm', 'mysql', 'om', 'omi', 'pal', 'vmm']:
|
||||
if self.project in ['apache', 'cm', 'mysql', 'om', 'omi', 'oms', 'pal', 'vmm']:
|
||||
return True
|
||||
|
||||
return False
|
||||
|
@ -38,6 +38,8 @@ class ProjectFactory:
|
|||
return ProjectOM()
|
||||
elif self.project == 'omi':
|
||||
return ProjectOMI()
|
||||
elif self.project == 'oms':
|
||||
return ProjectOMS()
|
||||
elif self.project == 'pal':
|
||||
return ProjectPAL()
|
||||
elif self.project == 'vmm':
|
||||
|
@ -193,6 +195,19 @@ class ProjectOMI(Project):
|
|||
self.sourceDirectory = "Unix"
|
||||
self.targets = "all"
|
||||
|
||||
class ProjectOMS(Project):
|
||||
##
|
||||
# Ctor.
|
||||
def __init__(self):
|
||||
self.buildDirectory = "build"
|
||||
self.cleanPaths = [ "." ]
|
||||
self.cleanList = [ "installer", "source", "test" ]
|
||||
self.dependentProjects = [ "omi", "pal" ]
|
||||
self.makeDependencies = False
|
||||
self.projectName = "oms"
|
||||
self.sourceDirectory = "source"
|
||||
self.targets = "all"
|
||||
|
||||
class ProjectPAL(Project):
|
||||
##
|
||||
# Ctor.
|
||||
|
|
Загрузка…
Ссылка в новой задаче