mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 15:15:06 +01:00
Display build times for the binary builds
This commit is contained in:
parent
1c93c4732d
commit
65d6c5979c
1 changed files with 2 additions and 0 deletions
|
|
@ -158,7 +158,9 @@ def installer(self):
|
|||
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…
Reference in a new issue