equal
deleted
inserted
replaced
439 # cleanup |
439 # cleanup |
440 rm(tempdir) |
440 rm(tempdir) |
441 return toedit |
441 return toedit |
442 |
442 |
443 |
443 |
444 class LiveServerCommand(Command): |
444 # XXX totally broken, fix it |
445 """Run a server from within a cube directory. |
445 # class LiveServerCommand(Command): |
446 """ |
446 # """Run a server from within a cube directory. |
447 name = 'live-server' |
447 # """ |
448 arguments = '' |
448 # name = 'live-server' |
449 options = () |
449 # arguments = '' |
450 |
450 # options = () |
451 def run(self, args): |
451 |
452 """run the command with its specific arguments""" |
452 # def run(self, args): |
453 from cubicweb.devtools.livetest import runserver |
453 # """run the command with its specific arguments""" |
454 runserver() |
454 # from cubicweb.devtools.livetest import runserver |
|
455 # runserver() |
455 |
456 |
456 |
457 |
457 class NewCubeCommand(Command): |
458 class NewCubeCommand(Command): |
458 """Create a new cube. |
459 """Create a new cube. |
459 |
460 |
685 p = Popen((viewer, out)) |
686 p = Popen((viewer, out)) |
686 p.wait() |
687 p.wait() |
687 |
688 |
688 register_commands((UpdateCubicWebCatalogCommand, |
689 register_commands((UpdateCubicWebCatalogCommand, |
689 UpdateTemplateCatalogCommand, |
690 UpdateTemplateCatalogCommand, |
690 LiveServerCommand, |
691 #LiveServerCommand, |
691 NewCubeCommand, |
692 NewCubeCommand, |
692 ExamineLogCommand, |
693 ExamineLogCommand, |
693 GenerateSchema, |
694 GenerateSchema, |
694 )) |
695 )) |