package main
import (
"github.com/spf13/cobra"
)
func main() {
cobra.OnInitialize(func() {})
}
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "go_default_library",
srcs = [
"main.go",
],
visibility = ["//visibility:private"],
deps = [
"@github_com_spf13_cobra//:go_default_library",
"@github_com_spf13_pflag//:go_default_library",
],
)
go_binary(
name = "breaks",
library = ":go_default_library",
visibility = ["//visibility:public"],
)
go_repository(
name = "github_com_spf13_cobra",
importpath = "github.com/spf13/cobra",
commit = "e458bb7ab84aae1bb4b4d36eccf9332f0d659e38",
)
go_repository(
name = "github_com_spf13_pflag",
importpath = "github.com/spf13/pflag",
commit = "e57e3eeb33f795204c1ca35f56c44f83227c6e66",
)
ERROR: /home/carl/.cache/bazel/_bazel_carl/fe86bc66a3ff77706ee81b4d35b28ef3/external/github_com_spf13_cobra/BUILD.bazel:5:1: no such package '@com_github_spf13_pflag//': No such repository and referenced by '@github_com_spf13_cobra//:go_default_library'.
ERROR: Analysis of target '//experimental/carl/breaks:breaks' failed; build aborted.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/ba29bd66-992a-430b-a28b-99769a6f9f36%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "bazel-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bazel-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/bazel-discuss/e20d53ac-1be8-4046-8f38-4a68d242479a%40googlegroups.com.
...clinkopts = ["-lpthread"] + select({
...