Documentation ¶
Overview ¶
Package runner …
Index ¶
Constants ¶
View Source
const (
//PlatformWindows const for windows
PlatformWindows = "windows"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CfgBuild ¶
type CfgBuild struct { Cmd string `toml:"cmd"` Bin string `toml:"bin"` FullBin string `toml:"full_bin"` ArgsBin []string `toml:"args_bin"` Log string `toml:"log"` IncludeExt []string `toml:"include_ext"` ExcludeDir []string `toml:"exclude_dir"` IncludeDir []string `toml:"include_dir"` ExcludeFile []string `toml:"exclude_file"` IncludeFile []string `toml:"include_file"` ExcludeRegex []string `toml:"exclude_regex"` ExcludeUnchanged bool `toml:"exclude_unchanged"` FollowSymlink bool `toml:"follow_symlink"` Poll bool `toml:"poll"` PollInterval int `toml:"poll_interval"` Delay int `toml:"delay"` StopOnError bool `toml:"stop_on_error"` SendInterrupt bool `toml:"send_interrupt"` KillDelay time.Duration `toml:"kill_delay"` Rerun bool `toml:"rerun"` RerunDelay int `toml:"rerun_delay"` // contains filtered or unexported fields }
type Config ¶
type Config struct { Root string `toml:"root"` TmpDir string `toml:"tmp_dir"` TestDataDir string `toml:"testdata_dir"` Build CfgBuild `toml:"build"` Color CfgColor `toml:"color"` Log CfgLog `toml:"log"` Misc CfgMisc `toml:"misc"` Screen CfgScreen `toml:"screen"` }
Config is the main configuration structure for Air.
func DefaultConfig ¶
func DefaultConfig() Config
func InitConfig ¶
InitConfig initializes the configuration.
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine ...
func NewEngineWithConfig ¶
NewEngineWithConfig ...
Click to show internal directories.
Click to hide internal directories.