Versions in this module Expand all Collapse all v0 v0.0.3 Dec 10, 2021 v0.0.2 Dec 9, 2021 Changes in this version + const BrambleExtension + var ErrNotInProject = errors.New("couldn't find a bramble.toml file in this directory or any parent") + func FindAllProjects(loc string) (paths []string, err error) + type BuildOutput struct + Dep Dependency + OutputPath string + type Dependency struct + Hash string + Output string + type Derivation struct + Args []string + Builder string + Dependencies []Dependency + Env map[string]string + Name string + Network bool + Outputs []string + Platform string + Sources FilesList + Target string + func (drv Derivation) Attr(name string) (val starlark.Value, err error) + func (drv Derivation) AttrNames() (out []string) + func (drv Derivation) Freeze() + func (drv Derivation) Hash() (uint32, error) + func (drv Derivation) PrettyJSON() string + func (drv Derivation) String() string + func (drv Derivation) Truth() starlark.Bool + func (drv Derivation) Type() string + type ExecModuleInput struct + IncludeTests bool + Module Module + Target string + type ExecModuleOutput struct + AllDerivations map[string]Derivation + Modules map[string]map[string][]string + Output map[string]Derivation + Run []Run + Tests map[string][]Test + func (emo ExecModuleOutput) WalkAndPatch(maxParallel int, ...) error + type FilesList struct + Files []string + Location string + func (fl FilesList) Freeze() + func (fl FilesList) Hash() (uint32, error) + func (fl FilesList) String() string + func (fl FilesList) Truth() starlark.Bool + func (fl FilesList) Type() string + type FunctionDoc struct + Definition string + Docstring string + Name string + type Module struct + External bool + Function string + Name string + type ModuleDoc struct + Docstring string + Functions []FunctionDoc + Name string + type ModuleFetcher func(context.Context, types.Package) (path string, err error) + type Project struct + func NewProject(wd string) (p *Project, err error) + func (p *Project) AddDependency(v types.Package) (err error) + func (p *Project) AddModuleFetcher(dm *dependency.Manager) + func (p *Project) ArgumentsToModules(ctx context.Context, args []string, allowExternal bool) (modules []Module, err error) + func (p *Project) CalculateDependencies() (err error) + func (p *Project) Config() config.Config + func (p *Project) ExecModule(ctx context.Context, input ExecModuleInput) (output ExecModuleOutput, err error) + func (p *Project) FindAllModules(path string) (modules []string, err error) + func (p *Project) HiddenPaths() (out []string) + func (p *Project) ListModuleDoc(wd string) (modules []ModuleDoc, err error) + func (p *Project) Location() string + func (p *Project) LockfileWriter() types.LockfileWriter + func (p *Project) Module() string + func (p *Project) ParseModuleFuncArgument(ctx context.Context, name string, allowExternal bool) (module Module, err error) + func (p *Project) REPL() + func (p *Project) ReadOnlyPaths() (out []string) + func (p *Project) URLHashes() map[string]string + func (p *Project) Version() string + func (p *Project) WD() string + func (p *Project) WriteLockfile() error + type Run struct + Args []string + Cmd string + Derivation Derivation + HiddenPaths []string + Location string + Network bool + Paths []string + ReadOnlyPaths []string + func (run Run) Freeze() + func (run Run) Hash() (uint32, error) + func (run Run) String() string + func (run Run) Truth() starlark.Bool + func (run Run) Type() string + type Test struct + Args []string + Derivation Derivation + Location string + type Walker struct + func (w *Walker) Update(dep Dependency, emo ExecModuleOutput) (err error)