config

package
v0.37.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 15, 2019 License: BSD-3-Clause Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const BuildBranchDefault = ""
View Source
const BuildCachePathDefault = ""
View Source
const BuildOpenGlVersionDefault = "3.3"
View Source
const BuildTargetDefault = "lib/main_desktop.dart"

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Target    string
	Branch    string
	CachePath string `yaml:"cache-path"`
	OpenGL    string
	Docker    bool
	// contains filtered or unexported fields
}

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

func ReadConfigFile(configPath string) (*Config, error)

ReadConfigFile reads a .yaml file at a path and return a correspond Config struct

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL