Added add_os method to platform subclasses
This commit is contained in:
parent
cb8d5ab183
commit
77e93e1b79
2 changed files with 2 additions and 0 deletions
|
@ -10,6 +10,7 @@ class Darwin(Platform):
|
|||
def __init__(self):
|
||||
super(Darwin, self).__init__('darwin')
|
||||
self.add_target(self.default, Target(self.default, 'PATH'))
|
||||
self.add_operating_system()
|
||||
|
||||
@classmethod
|
||||
def detect(self):
|
||||
|
|
|
@ -10,6 +10,7 @@ class Linux(Platform):
|
|||
def __init__(self):
|
||||
super(Linux, self).__init__('linux')
|
||||
self.add_target(self.default, Target(self.default, 'PATH'))
|
||||
self.add_operating_system()
|
||||
|
||||
@classmethod
|
||||
def detect(self):
|
||||
|
|
Loading…
Reference in a new issue