Documentation ¶
Overview ¶
Package pex implements construction of .pex files in Go. For performance reasons we've ultimately abandoned doing this in Python; we were ultimately not using pex for much at construction time and we already have most of what we need in Go via jarcat.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Writer ¶
type Writer struct {
// contains filtered or unexported fields
}
A Writer implements writing a .pex file in various steps.
func NewWriter ¶
NewWriter constructs a new Writer.
func (*Writer) SetShebang ¶
SetShebang sets the leading shebang that will be written to the file.
func (*Writer) SetTest ¶
SetTest sets this Writer to write tests using the given sources. This overrides the entry point given earlier.
Click to show internal directories.
Click to hide internal directories.