Documentation ¶
Index ¶
Constants ¶
View Source
const (
DefaultConfigPath = "./.fresh.yaml"
)
Variables ¶
View Source
var ConfigPath string
View Source
var EnvPrefix = "RUNNER_"
Functions ¶
func Cmd ¶
Cmd constructs a raw exec.Cmd to let it parse arguments as if the came in from the command line
func SaveRunnerConfigSettings ¶
func SaveRunnerConfigSettings(configPath string)
Types ¶
type Settings ¶
type Settings struct { Version string `yaml:"version"` Root string `yaml:"root"` MainPath string `yaml:"main_path"` TmpPath string `yaml:"tmp_path"` BuildName string `yaml:"build_name"` BuildArgs string `yaml:"build_args"` RunArgs string `yaml:"run_args"` BuildLog string `yaml:"build_log"` ValidExt string `yaml:"valid_ext"` NoRebuildExt string `yaml:"no_rebuild_ext"` Ignore string `yaml:"ignore"` BuildDelay string `yaml:"build_delay"` // Number: Nanoseconds, otherwise - parse Duration Colors bool `yaml:"colors"` LogColorMain string `yaml:"log_color_main"` LogColorBuild string `yaml:"log_color_build"` LogColorRunner string `yaml:"log_color_runner"` LogColorWatcher string `yaml:"log_color_watcher"` LogColorApp string `yaml:"log_color_app"` LogColorDebugger string `yaml:"log_color_debugger"` Delve bool `yaml:"delve"` DelveArgs string `yaml:"delve_args"` DelveListen string `yaml:"delve_listen"` Debug bool `yaml:"debug"` }
Source Files ¶
Click to show internal directories.
Click to hide internal directories.