chore: Add BUILD file for websockify.

This commit is contained in:
iphydf 2022-02-14 13:55:42 +00:00
parent 4d79001991
commit c9d3e078e2
No known key found for this signature in database
GPG Key ID: 3855DBA2D74403C9

View File

@ -0,0 +1,15 @@
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
go_library(
name = "go_default_library",
srcs = ["websockify.go"],
importpath = "github.com/TokTok/c-toxcore/other/bootstrap_daemon/websocket/websockify",
visibility = ["//visibility:private"],
deps = ["@com_github_gorilla_websocket//:go_default_library"],
)
go_binary(
name = "websockify",
embed = [":go_default_library"],
visibility = ["//visibility:public"],
)