generate

package
v0.0.0-...-d02d248 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRule

func NewRule(kind, name string) *bazelbuild.Rule

func NewStringExpr

func NewStringExpr(s string) *bazelbuild.StringExpr

func NewStringList

func NewStringList(ss []string) *bazelbuild.ListExpr

Types

type Generate

type Generate struct {
	// contains filtered or unexported fields
}

func New

func New(srcRoot, thirdPartyFolder, hostModFile, module, version, subrepo string, buildFileNames, moduleDeps, install []string, buildTags []string, labels []string) *Generate

func (*Generate) Generate

func (g *Generate) Generate() error

Generate generates a new Please project at the src root. It will walk through the directory tree generating new BUILD files. This is primarily intended to generate a please subrepo for third party code.

type Rule

type Rule struct {
	// contains filtered or unexported fields
}

Directories

Path Synopsis
Package gomoddeps parses dependencies and replacements from the host and module go.mod files.
Package gomoddeps parses dependencies and replacements from the host and module go.mod files.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL