mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-01-06 11:24:49 +01:00
DRYer
This commit is contained in:
parent
37fb2d76c8
commit
50ae40a73f
1 changed files with 1 additions and 3 deletions
|
|
@ -153,13 +153,11 @@ def pre_sub_commands(self, opts):
|
|||
|
||||
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…
Reference in a new issue