blob: 34e9fc124e47e79e588cbb429b6bb7f56685a321 [file] [log] [blame]
# Copyright 2017 The Bazel Authors. All rights reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
licenses(["notice"]) # Apache 2.0
package(default_visibility = [
"//third_party/bazel_rules/rules_typescript/internal:__subpackages__",
])
filegroup(
name = "source_tree",
srcs = [
"//third_party/bazel_rules/rules_typescript/internal/devserver/main:source_tree",
] + glob(["**/*"]),
)
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "devserver",
importpath = "github.com/bazelbuild/rules_typescript/internal/devserver/devserver",
srcs = ["devserver.go"],
)
go_test(
name = "devserver_test",
size = "small",
srcs = ["devserver_test.go"],
library = ":devserver",
# See https://github.com/bazelbuild/rules_go/issues/721
importpath = "do_not_import",
)