Difference between revisions of "Autobuild edit"
Jump to navigation
Jump to search
Rand Linden (talk | contribs) |
|||
Line 1: | Line 1: | ||
{{Autobuild Cmd | |||
|command= | |||
autobuild edit ''subcommand'' | |||
''option'' [''argument''] [''option'' [''argument''] ...] | |||
[argument [argument ...]] | |||
|comments= | |||
Edits the definition of the current package. | |||
The ''subcommand'' specifies what to edit, and is one of: | |||
* build: Configures <code>autobuild build</code>. | |||
* configure: Configures <code>autobuild configure</code>. | |||
* package: Configures information about the package. | |||
* platform: Configures platform-specific configuration. | |||
* source-info: Configures information about the package source, for installation as source by other packages. | |||
}} | |||
'''Command-Specific Options''' | |||
{| class=lltable border=1 | |||
|-- | |||
== | !Option | ||
!Shortcut | |||
!Value | |||
!Description | |||
|- | |||
| --delete | |||
| N/A | |||
| ? | |||
|- | |||
| --config-file ''config_file'' | |||
| N/A | |||
| Configuration file | |||
| Use specified configuration file | |||
|- | |||
| | |||
| | |||
| | |||
| | |||
|} | |} | ||
'''Arguments for build subcommand''' | |||
* name - Name of config | |||
*platform - Platform of config | |||
*command - Command to execute | |||
*options - Options for command | |||
*arguments - Arguments for command | |||
'''Arguments for package subcommand''' | |||
*name - Name of package | |||
*description - Package description | |||
*copyright - Copyright string (as appropriate for your package) | |||
*license - Type of license (as appropriate for your package) | |||
*license_file - Path to license file relative to package root, if known | |||
*version - Version | |||
'''Arguments for platform subcommand''' | |||
*name - Name of platform | |||
*build_directory - Build directory | |||
'''Arguments for source-info subcommand''' | |||
* source - Source URL for code repository | |||
* source_type - Repository type (hg, svn, etc.) | |||
* source_directory - Location to which source should be installed, relative to autobuild.xml | |||
[[Category:Autobuild]] | [[Category:Autobuild]] |
Revision as of 15:58, 9 March 2011
autobuild edit subcommand
option [argument] [option [argument] ...] [argument [argument ...]]
Edits the definition of the current package. The subcommand specifies what to edit, and is one of:
- build: Configures
autobuild build
. - configure: Configures
autobuild configure
. - package: Configures information about the package.
- platform: Configures platform-specific configuration.
- source-info: Configures information about the package source, for installation as source by other packages.
Standard Options
Option | Shortcut | Value | Description |
---|---|---|---|
--debug | -d | None | Display debug output |
--dry-run | -n | None | Run tool in dry run mode if available |
--help | -h | None | Show help message |
--quiet | -q | None | Display minimal output |
--verbose | -v | None | Display verbose output |
Command-Specific Options
Option | Shortcut | Value | Description |
---|---|---|---|
--delete | N/A | ? | |
--config-file config_file | N/A | Configuration file | Use specified configuration file |
Arguments for build subcommand
- name - Name of config
- platform - Platform of config
- command - Command to execute
- options - Options for command
- arguments - Arguments for command
Arguments for package subcommand
- name - Name of package
- description - Package description
- copyright - Copyright string (as appropriate for your package)
- license - Type of license (as appropriate for your package)
- license_file - Path to license file relative to package root, if known
- version - Version
Arguments for platform subcommand
- name - Name of platform
- build_directory - Build directory
Arguments for source-info subcommand
- source - Source URL for code repository
- source_type - Repository type (hg, svn, etc.)
- source_directory - Location to which source should be installed, relative to autobuild.xml