mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Display build times for the binary builds
This commit is contained in:
parent
1c93c4732d
commit
65d6c5979c
@ -158,7 +158,9 @@ class VMInstaller(Command):
|
||||
def run(self, opts):
|
||||
subprocess.call(['chmod', '-R', '+r', 'recipes'])
|
||||
self.start_vm()
|
||||
start_time = time.time()
|
||||
self.run_vm_builder()
|
||||
print ('Build completed in %d seconds' % round(time.time() - start_time))
|
||||
if not opts.dont_shutdown:
|
||||
print ('Shutting down', self.VM_NAME)
|
||||
subprocess.call(['ssh', self.VM_NAME]+self.SHUTDOWN_CMD)
|
||||
|
Loading…
x
Reference in New Issue
Block a user