27 lines
495 B
Python
27 lines
495 B
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_test")
|
||
|
|
||
|
package(licenses = ["notice"])
|
||
|
|
||
|
go_binary(
|
||
|
name = "proctor",
|
||
|
srcs = [
|
||
|
"go.go",
|
||
|
"java.go",
|
||
|
"nodejs.go",
|
||
|
"php.go",
|
||
|
"proctor.go",
|
||
|
"python.go",
|
||
|
],
|
||
|
visibility = ["//test/runtimes/images:__subpackages__"],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "proctor_test",
|
||
|
size = "small",
|
||
|
srcs = ["proctor_test.go"],
|
||
|
embed = [":proctor"],
|
||
|
deps = [
|
||
|
"//runsc/testutil",
|
||
|
],
|
||
|
)
|