Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidInput = config.ErrInvalidInput ErrMissingInput = config.ErrMissingInput )
View Source
var ErrConflictingValue = errors.New("conflicting setting")
Functions ¶
func DefaultFilename ¶
func DefaultFilename() string
DefaultFilename returns the default name of the 'gdbuild' manifest file.
func Export ¶ added in v0.2.1
Export creates an `Export` instance which contains an action for exporting the specified target.
Types ¶
type Config ¶
type Config struct { // Extends is a path to another GDBuild manifest to extend. Note that value // override rules work the same as within a manifest; any primitive values // will override those defined in the base configuration, while arrays will // be appended to the base configuration's arrays. Extends osutil.Path `toml:"extends"` }
Configs specifies GDBuild manifest-related settings.
type Manifest ¶
type Manifest struct { // Config contains GDBuild configuration-related settings. Config Config `toml:"config"` // Godot contains settings on which Godot version/source code to use. Godot Godot `toml:"godot"` // Target includes settings for exporting Godot game executables and packs. Target map[string]platform.Targets `toml:"target"` // Template includes settings for building custom export templates. Template platform.Templates `toml:"template"` }
Manifest defines the supported structure of the GDBuild manifest file.
Click to show internal directories.
Click to hide internal directories.