You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
753 B
38 lines
753 B
load( |
|
"@io_bazel_rules_go//go:def.bzl", |
|
"go_binary", |
|
"go_library", |
|
) |
|
|
|
# gazelle:prefix go-common |
|
|
|
package(default_visibility = ["//visibility:public"]) |
|
|
|
load("@bazel_gazelle//:def.bzl", "gazelle") |
|
|
|
gazelle(name = "gazelle") |
|
|
|
xcode_version( |
|
name = "xcode_version", |
|
version = "10.0", |
|
) |
|
|
|
filegroup( |
|
name = "package-srcs", |
|
srcs = glob(["**"], exclude=["bazel-*/**", ".git/**", ".idea/**"]), |
|
tags = ["automanaged"], |
|
visibility = ["//visibility:private"], |
|
) |
|
|
|
filegroup( |
|
name = "all-srcs", |
|
srcs = [ |
|
":package-srcs", |
|
"//app:all-srcs", |
|
"//build:all-srcs", |
|
"//library:all-srcs", |
|
"//vendor:all-srcs", |
|
], |
|
tags = ["automanaged"], |
|
visibility = ["//visibility:public"], |
|
)
|
|
|