diff options
| author | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-04 00:27:29 +0200 |
|---|---|---|
| committer | Hans Ulrich Niedermann <hun@n-dimensional.de> | 2008-07-15 12:28:56 +0200 |
| commit | dead238a225a1a0a6be7857e6279771efdbc76ae (patch) | |
| tree | 02f3dbc0e4f1da576248ce2c93c337faed92eef5 /src | |
| parent | 765af810baa604fd2cf99e0bf3d885ad7d2e5e52 (diff) | |
| download | nbb-dead238a225a1a0a6be7857e6279771efdbc76ae.tar.gz nbb-dead238a225a1a0a6be7857e6279771efdbc76ae.tar.xz nbb-dead238a225a1a0a6be7857e6279771efdbc76ae.zip | |
Update docs
Diffstat (limited to 'src')
| -rw-r--r-- | src/nbblib/commands.py | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/src/nbblib/commands.py b/src/nbblib/commands.py index c250cb1..3f8e4fd 100644 --- a/src/nbblib/commands.py +++ b/src/nbblib/commands.py @@ -267,7 +267,7 @@ class BuildTestCommand(SourceClassCommand): class InitCommand(SourceClassCommand): name = 'init' - summary = 'initialize buildsystem' + summary = 'initialize buildsystem (e.g. "autoreconf")' validate_args = Command.validate_args_none def run(self): self.bs_sourcetree.init() @@ -275,7 +275,7 @@ class InitCommand(SourceClassCommand): class ConfigureCommand(SourceClassCommand): name = 'configure' - summary = 'configure buildsystem' + summary = 'configure buildsystem (e.g. "./configure")' validate_args = Command.validate_args_none def run(self): self.bs_sourcetree.configure() @@ -283,7 +283,7 @@ class ConfigureCommand(SourceClassCommand): class BuildCommand(SourceClassCommand): name = 'build' - summary = 'build from source' + summary = 'build from source (e.g. "make")' validate_args = Command.validate_args_none def run(self): self.bs_sourcetree.build() @@ -291,7 +291,7 @@ class BuildCommand(SourceClassCommand): class InstallCommand(SourceClassCommand): name = 'install' - summary = 'install the built things' + summary = 'install the built things (e.g. "make install")' validate_args = Command.validate_args_none def run(self): self.bs_sourcetree.install() @@ -308,6 +308,11 @@ class MakeCommand(SourceClassCommand): class GeneralRunCommand(SourceClassCommand): + """Run general command in some branch specific dir + + Non-abstract derived classes MUST define run_in as one of + ['srcdir', 'builddir', 'installdir']. + """ name = None summary = 'run some command in some dir' validate_args = Command.validate_args_any |
