Comments (3)
You're right @fmeum , I eventually stumbled accross the bit in the docs that says to use go_deps instead
I guess I must have got the idea from elsewhere. Still a bazel noob ! π
from bazel-gazelle.
Would be nice if we could get a release with 62d7108 in it. I'm trying to use it in a project without a WORKSPACE
file and it fails on this error.
from bazel-gazelle.
You should be able to work around this by using 62d7108 and passing -bzlmod
.
However, when using Bzlmod, you shouldn't really need update-repos
for Go repos anymore. What are you using it for?
from bazel-gazelle.
Related Issues (20)
- BUILD file not found in directory 'modfile' of external repository @org_golang_x_mod. HOT 4
- gazelle resolve directives not working
- idea: lang/go: generate BUILD files from `go build -x` output HOT 1
- go_deps extension doesn't generate indirect dependencies HOT 2
- gazelle generates and recreates grpc targets that rules_go complains about HOT 6
- Missing documentation and best practices for bzlmod HOT 9
- Support Golang Workspaces in Gazelle HOT 6
- gazelle 0.35.0 panics HOT 4
- #gazelle:proto fileβ directive isnβt usable unless option go_package is explicitly set in each proto_library HOT 18
- Error in fail: failed to fetch com_github_gorilla_mux: go: missing Git command.
- Gazelle requires WORKSPACE when using update-repos in a bzlmod only repo HOT 4
- Gazelle fails with `BUILD file not found in directory` for Go module HOT 2
- Gazelle:resolve support bzlmod repo canonical name HOT 1
- Enhancement request: Add global go_binary gc_linkopts capability
- Gazelle reports "could not merge expression" when using select statements in hdrs or srcs HOT 1
- Proto generation is not yet disabled in go.mods provided by go_deps in bzlmod
- Gazaelle not recognising math/rand/v2 as stdlib HOT 1
- Include @protobuf as option for resolving well-known types
- Failure when building //cmd/gazelle:gazelle_lib with bazel HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bazel-gazelle.