Documentation
¶
Index ¶
Constants ¶
View Source
const BuildEngineDefault = ""
BuildEngineDefault Default go-flutter engine version
View Source
const BuildOpenGlVersionDefault = "3.3"
BuildOpenGlVersionDefault Default OpenGL version for go-flutter
View Source
const BuildTargetDefault = "lib/main_desktop.dart"
BuildTargetDefault Default build target file
Variables ¶
This section is empty.
Functions ¶
func GetHoverFlavorYaml ¶ added in v0.46.0
func GetHoverFlavorYaml() string
GetHoverFlavorYaml returns the Hover yaml file
func PrintMissingField ¶ added in v0.41.3
func PrintMissingField(name, file, def string)
func SetHoverFlavor ¶ added in v0.46.0
func SetHoverFlavor(flavor string)
SetHoverFlavor sets the user defined hover flavor. eg. hover-develop.yaml, hover-staging.yaml, etc.
Types ¶
type Config ¶
type Config struct {
ApplicationName string `yaml:"application-name"`
ExecutableName string `yaml:"executable-name"`
PackageName string `yaml:"package-name"`
OrganizationName string `yaml:"organization-name"`
License string
Target string
BranchREMOVED string `yaml:"branch"`
CachePathREMOVED string `yaml:"cache-path"`
OpenGL string
Engine string `yaml:"engine-version"`
}
Config contains the parsed contents of hover.yaml
func GetConfig ¶
func GetConfig() Config
GetConfig returns the working directory hover.yaml as a Config
func ReadConfigFile ¶
ReadConfigFile reads a .yaml file at a path and return a correspond Config struct
func (Config) GetApplicationName ¶ added in v0.41.3
func (Config) GetExecutableName ¶ added in v0.41.3
func (Config) GetLicense ¶ added in v0.41.3
func (Config) GetOrganizationName ¶ added in v0.46.3
func (Config) GetPackageName ¶ added in v0.41.3
Click to show internal directories.
Click to hide internal directories.