mirror of
https://github.com/reactos/ninja.git
synced 2024-11-27 13:40:30 +00:00
add 'default' keyword to python module
This commit is contained in:
parent
873abda301
commit
3becb3bbf5
@ -60,6 +60,9 @@ class Writer(object):
|
||||
def subninja(self, path):
|
||||
self._line('subninja %s' % path)
|
||||
|
||||
def default(self, paths):
|
||||
self._line('default %s' % ' '.join(self._as_list(paths)))
|
||||
|
||||
def _line(self, text, indent=0):
|
||||
"""Write 'text' word-wrapped at self.width characters."""
|
||||
leading_space = ' ' * indent
|
||||
|
Loading…
Reference in New Issue
Block a user