python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
How to query repository rule in bazel?
I'm trying to translate my company's project from legacy build tool to bazel. Now I'm facing this problem and searched a lot, but unfortunately, I haven't had a clue so far.
Here's the thing:
For comp...
Chen Zhuo
Votes: 0
Answers: 1
Runfiles from multiple targets in a single directory in Bazel
I have an integration test target which uses runfiles from two different targets:
java_test(
name = "test",
srcs = ["Test.java"],
data = ["//package:resource1", &qu...
agluszak
Votes: 0
Answers: 1
How to get Bazel output base from within rule Args map_each function?
I'm writing a Bazel rule which processes an input depsets with lots of jar files in it. My goal is to get the full (absolute) path of the jars for launching an application.
I use java_binary for the i...
Gunnar
Votes: 0
Answers: 0
Common Bazel gomock rule
Is there a way to declare a gomock rule in one library and reference it in another? The instructions for gomock work for interfaces declared in the same package. For example:
backend/service/db/BUILD....
Spencer Connaughton
Votes: 0
Answers: 0