mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 865445 - Add 'configure' command to mach to rebuild the backend. r=gps
This commit is contained in:
parent
5b7dde4e49
commit
bc040e83d4
@ -195,6 +195,22 @@ class Build(MachCommandBase):
|
||||
print(FINDER_SLOW_MESSAGE % finder_percent)
|
||||
|
||||
|
||||
@Command('configure', help='Configure the tree (run configure and config.status')
|
||||
def configure(self):
|
||||
def on_line(line):
|
||||
self.log(logging.INFO, 'build_output', {'line': line}, '{line}')
|
||||
|
||||
status = self._run_make(srcdir=True, filename='client.mk',
|
||||
target='configure', line_handler=on_line, log=False,
|
||||
print_directory=False, allow_parallel=False, ensure_exit_code=False)
|
||||
|
||||
if not status:
|
||||
print('Configure complete!')
|
||||
print('Be sure to run |mach build| to pick up any changes');
|
||||
|
||||
return status
|
||||
|
||||
|
||||
@Command('clobber', help='Clobber the tree (delete the object directory).')
|
||||
def clobber(self):
|
||||
try:
|
||||
|
Loading…
Reference in New Issue
Block a user