configure

package
v1.202449.18 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 40 Imported by: 0

Documentation

Overview

Command gazelle is a BUILD file generator for Go projects. See "gazelle --help" for more details.

Index

Constants

View Source
const GO_DEPS_EXTENSION_NAME = "go_deps"

The @gazelle go_deps extension name. https://github.com/bazel-contrib/bazel-gazelle/blob/v0.39.1/internal/bzlmod/go_deps.bzl#L827

View Source
const GO_REPOSITORY_CONFIG_ENV = GO_REPOSITORY_CONFIG_REPO_NAME

An environment variable to set the full path to the gazelle repo_config

View Source
const GO_REPOSITORY_CONFIG_REPO_NAME = "bazel_gazelle_go_repository_config"

The repository name for the gazelle repo_config. https://github.com/bazel-contrib/bazel-gazelle/blob/v0.39.1/internal/bzlmod/go_deps.bzl#L648-L654

Variables

View Source
var BZLMOD_REPO_SEPARATORS = []string{"~", "+"}

bazel 8 switches the bzlmod separator to "+" See https://github.com/bazelbuild/bazel/issues/23127

Functions

This section is empty.

Types

type Configure

type Configure struct {
	ioutils.Streams
	// contains filtered or unexported fields
}

func New

func New(streams ioutils.Streams) *Configure

func (*Configure) AddLanguage

func (c *Configure) AddLanguage(lang string, langFactory func() language.Language)

func (*Configure) Run

func (runner *Configure) Run(_ context.Context, cmd *cobra.Command, args []string) error

type FixUpdateStatus

type FixUpdateStatus struct {
	NumBuildFilesVisited int
	NumBuildFilesUpdated int
}

NOTE: additional aspect-cli update result status

Directories

Path Synopsis
internal
wspace
Package wspace provides functions to locate and modify a bazel WORKSPACE file.
Package wspace provides functions to locate and modify a bazel WORKSPACE file.

Jump to

Keyboard shortcuts

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