Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PreprocessAST ¶
func PreprocessAST(ast *Gunfile)
Types ¶
type Exec ¶
type Exec struct {
Command string `parser:"'Exec' @String"`
}
Exec commands are run during build time Example: Exec "echo 'hello world'"
type Gunfile ¶
type Gunfile struct { Pos lexer.Position // the base container Base string `parser:"'Using' @String"` // a bunch of commands that are run sequentially inside the container Commands []*Exec `parser:"@@*"` }
func ParseGunfile ¶
func ParseGunfileString ¶
Click to show internal directories.
Click to hide internal directories.