Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func WriteDefault ¶
Types ¶
type RugFile ¶
type RugFile struct {
// Run pre/post hooks
Hooks bool `json:"hooks"`
// A map of environment variables
Env map[string]string `json:"env,omitempty"`
// paths to add to $PATH before running
Path []string `json:"path,omitempty"`
// List of scripts
Scripts map[string]string `json:"scripts"`
}
Struct representing a rug file (rug.json)
func ReadRugFile ¶
Read a rug file from a specified path
Click to show internal directories.
Click to hide internal directories.