Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
cubicweb
cubicweb
Commits
5ab3f63b06ad
Commit
30f035ce
authored
Feb 03, 2010
by
Sylvain Thénault
Browse files
live-server doesn't work, don't make think it does
parent
91e224154f11
Changes
1
Hide whitespace changes
Inline
Side-by-side
devtools/devctl.py
View file @
5ab3f63b
...
...
@@ -441,17 +441,18 @@ def update_cube_catalogs(cubedir):
return
toedit
class
LiveServerCommand
(
Command
):
"""Run a server from within a cube directory.
"""
name
=
'live-server'
arguments
=
''
options
=
()
# XXX totally broken, fix it
# class LiveServerCommand(Command):
# """Run a server from within a cube directory.
# """
# name = 'live-server'
# arguments = ''
# options = ()
def
run
(
self
,
args
):
"""run the command with its specific arguments"""
from
cubicweb.devtools.livetest
import
runserver
runserver
()
#
def run(self, args):
#
"""run the command with its specific arguments"""
#
from cubicweb.devtools.livetest import runserver
#
runserver()
class
NewCubeCommand
(
Command
):
...
...
@@ -687,7 +688,7 @@ class GenerateSchema(Command):
register_commands
((
UpdateCubicWebCatalogCommand
,
UpdateTemplateCatalogCommand
,
LiveServerCommand
,
#
LiveServerCommand,
NewCubeCommand
,
ExamineLogCommand
,
GenerateSchema
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment