1
hermetic_cc_toolchain/tools/releaser/BUILD
2023-03-14 20:25:57 +02:00

25 lines
580 B
Python

# Copyright 2023 Uber Technologies, Inc.
# Licensed under the Apache License, Version 2.0
load("//rules:rules_go.bzl", "go_binary")
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "releaser_lib",
srcs = ["main.go"],
importpath = "github.com/uber/bazel-zig-cc/tools/releaser",
visibility = ["//visibility:private"],
)
go_binary(
name = "releaser",
embed = [":releaser_lib"],
visibility = ["//visibility:public"],
)
go_test(
name = "releaser_test",
srcs = ["main_test.go"],
embed = [":releaser_lib"],
)