mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
DRYer
This commit is contained in:
parent
37fb2d76c8
commit
50ae40a73f
@ -153,13 +153,11 @@ class Publish(Command):
|
||||
|
||||
class PublishBetas(Command):
|
||||
|
||||
sub_commands = ['stage2', 'sdist']
|
||||
sub_commands = ['rapydscript', 'stage2', 'sdist']
|
||||
|
||||
def pre_sub_commands(self, opts):
|
||||
require_clean_git()
|
||||
require_git_master('vs2015')
|
||||
from calibre.utils.rapydscript import compile_srv
|
||||
compile_srv()
|
||||
|
||||
def run(self, opts):
|
||||
dist = self.a(self.j(self.d(self.SRC), 'dist'))
|
||||
|
Loading…
x
Reference in New Issue
Block a user