Difference between revisions of "Autobuild edit"

From Second Life Wiki
Jump to navigation Jump to search
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{Autobuild Cmd
{{Autobuild Cmd
|command=  
|command=  
autobuild edit ''subcommand'' <br>    ''option'' [''argument''] [''option'' [''argument''] ...] <br>    [argument [argument ...]]
autobuild edit ''subcommand'' <br>    ''option'' [''value''] [''option'' [''value''] ...] <br>    [argument [argument ...]]
|comments=
|comments=
Edits the definition of the current package.
Edits the definition of the current package.
Line 9: Line 9:
* package: Configures information about the package.
* package: Configures information about the package.
* platform: Configures platform-specific configuration.
* platform: Configures platform-specific configuration.
* source-info: Configures information about the package source, for installation as source by other packages.
}}
}}


Line 51: Line 50:
*license - Type of license (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
*license_file - Path to license file relative to package root, if known
*version - Version
*version_file - Path to a file containing the package version number after the build


'''Arguments for platform subcommand'''
'''Arguments for platform subcommand'''
Line 57: Line 56:
*name - Name of platform
*name - Name of platform
*build_directory - Build directory  
*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]]

Latest revision as of 11:30, 19 March 2015

autobuild edit subcommand
option [value] [option [value] ...]
[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.

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_file - Path to a file containing the package version number after the build

Arguments for platform subcommand

  • name - Name of platform
  • build_directory - Build directory