Difference between revisions of "Autobuild edit"

From Second Life Wiki
Jump to navigation Jump to search
Line 1: Line 1:
{{Autobuild Cmd
{{Autobuild Cmd
autobuild edit ''subcommand''  
autobuild edit ''subcommand'' <br>    ''option'' [''argument''] [''option'' [''argument''] ...] <br>    [argument [argument ...]]
''option'' [''argument''] [''option'' [''argument''] ...]  
[argument [argument ...]]
Edits the definition of the current package.
Edits the definition of the current package.

Revision as of 16:20, 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