Documentation ¶
Index ¶
- Variables
- func CheckTarget(label string, workspacePath string, envArgs []string, verbose bool) error
- func DeleteEntryFromFile(contents []byte, ruleName string, paramName string, optionToDelete string) ([]byte, error)
- func ExtractEntriesFromFile(contents []byte, ruleName string, paramName string) ([]string, error)
- func IsTest(label string, workspace string) (bool, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrInvalidInvariant = errors.New("wtf") // What a Terrible Failure! Probably can't happen with valid file
View Source
var ErrNoSuchListElem = errors.New("no such list element")
View Source
var ErrNoSuchParam = errors.New("no such param")
View Source
var ErrNoSuchRule = errors.New("no such rule")
View Source
var ErrNotListAssingment = errors.New("param is not a list")
Functions ¶
func CheckTarget ¶
If target is of test rule, runs bazel test Otherwise build target
func DeleteEntryFromFile ¶
func ExtractEntriesFromFile ¶
ExtractEntriesFromFile extracts contents of param (which should be an array, like deps) of Rule from file contents.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.