25 lines
635 B
Python
25 lines
635 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"gzip.go",
|
|
"gzip_go18.go",
|
|
],
|
|
importmap = "github.com/jetstack/cert-manager/vendor/github.com/NYTimes/gziphandler",
|
|
importpath = "github.com/NYTimes/gziphandler",
|
|
tags = ["manual"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"gzip_go18_test.go",
|
|
"gzip_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
tags = ["manual"],
|
|
deps = ["//vendor/github.com/stretchr/testify/assert:go_default_library"],
|
|
)
|