Documentation
¶
Index ¶
- type Buildfile
- func (b *Buildfile) WriteCmd(command string)
- func (b *Buildfile) WriteCmdSilent(command string)
- func (b *Buildfile) WriteComment(comment string)
- func (b *Buildfile) WriteEnv(key, value string)
- func (b *Buildfile) WriteFile(path string, file []byte, i int)
- func (b *Buildfile) WriteHost(mapping string)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Buildfile ¶
func (*Buildfile) WriteCmd ¶
WriteCmd writes a command to the build file. The command will be echoed back as a base16 encoded command so that it can be parsed and appended to the build output
func (*Buildfile) WriteCmdSilent ¶
WriteCmdSilent writes a command to the build file but does not echo the command.
func (*Buildfile) WriteComment ¶
WriteComment adds a comment to the build file. This is really only used internally for debugging purposes.
func (*Buildfile) WriteEnv ¶
WriteEnv exports the environment variable as part of the script. The environment variables are not echoed back to the console, and are kept private by default.