From c9d3e078e2a64506355ce2452b14d2a74a9f8b0d Mon Sep 17 00:00:00 2001 From: iphydf Date: Mon, 14 Feb 2022 13:55:42 +0000 Subject: [PATCH] chore: Add BUILD file for websockify. --- .../websocket/websockify/BUILD.bazel | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 other/bootstrap_daemon/websocket/websockify/BUILD.bazel diff --git a/other/bootstrap_daemon/websocket/websockify/BUILD.bazel b/other/bootstrap_daemon/websocket/websockify/BUILD.bazel new file mode 100644 index 00000000..bfe2fc53 --- /dev/null +++ b/other/bootstrap_daemon/websocket/websockify/BUILD.bazel @@ -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"], +)