Support go-lang

This commit is contained in:
Lulu Zhang
2024-08-20 13:43:23 -07:00
parent 056cc989f3
commit 51308206c9
15 changed files with 983 additions and 696 deletions

16
BUILD.bazel Normal file
View File

@@ -0,0 +1,16 @@
load("@bazel_gazelle//:def.bzl", "gazelle")
# gazelle:build_file_name BUILD,BUILD.bazel
# gazelle:prefix github.com/google/or-tools
# gazelle:proto disable
gazelle(name = "gazelle")
gazelle(
name = "gazelle-update-repos",
args = [
"-from_file=go.mod",
"-to_macro=deps.bzl%go_dependencies",
"-prune",
],
command = "update-repos",
)