Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAirToml ¶
Types ¶
type AirConfig ¶
type AirConfig struct {
Root string `toml:"root"`
TmpDir string `toml:"tmp_dir"`
Build BuildConfig `toml:"build"`
Log LogConfig `toml:"log"`
Misc MiscConfig `toml:"misc"`
Color ColorConfig `toml:"color"`
}
AirConfig represents the structure of a .air.toml file.
type BuildConfig ¶
type BuildConfig struct {
Cmd string `toml:"cmd"`
Bin string `toml:"bin"`
PreCmd []string `toml:"pre_cmd"`
PostCmd []string `toml:"post_cmd"`
IncludeExt []string `toml:"include_ext"`
ExcludeDir []string `toml:"exclude_dir"`
ExcludeFile []string `toml:"exclude_file"`
IncludeDir []string `toml:"include_dir"`
ExcludeRegex []string `toml:"exclude_regex"`
StopOnError bool `toml:"stop_on_error"`
Delay int `toml:"delay"`
}
type ColorConfig ¶
type MiscConfig ¶
type MiscConfig struct {
CleanOnExit bool `toml:"clean_on_exit"`
}
Click to show internal directories.
Click to hide internal directories.