gofuse

command
v0.0.0-...-15b4445 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2022 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

gofuse is a utility program to help go tools work with bazel generated files.

gofuse will create a new 'fused' directory in the project root which contains:

  • Symlinks to authored files in the GAPID source tree.
  • Symlinks to bazel-generated files (bazel-out/[config]/{bin,genfiles}).
  • Symlinks to external 3rd-party .go files.

These symlinks are 'fused' into a single, common directory structure that is expected by the typical GOPATH rules used by go tooling.

Note: the extensive use of symlinks makes Windows support unlikely.

Examples:

bazel run //cmd/gofuse
bazel run //cmd/gofuse -- --bazelout=k8-fastbuild
bazel run //cmd/gofuse -- --bazelout=k8-dbg
bazel run //cmd/gofuse -- --bazelout=darwin-fastbuild

Jump to

Keyboard shortcuts

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