Skip to content

Commit

Permalink
Re-generate BUILD files by running Gazelle
Browse files Browse the repository at this point in the history
  • Loading branch information
alexeagle committed Sep 18, 2018
1 parent 7d82200 commit 90c6fc5
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# Exclude node_modules, see
# https://github.com/bazelbuild/rules_go/blob/master/go/tools/gazelle/README.rst#directives
# gazelle:exclude node_modules
load("@io_bazel_rules_go//go:def.bzl", "gazelle")
load("@bazel_gazelle//:def.bzl", "gazelle")
load("@build_bazel_rules_nodejs//internal/js_library:js_library.bzl", "js_library")

# ts_library defaults to this label in the top-level package.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,6 @@ ts_library(
jasmine_node_test(
name = "test",
srcs = [],
deps = [":test_lib"],
node_modules = "//:node_modules",
deps = [":test_lib"],
)
Original file line number Diff line number Diff line change
Expand Up @@ -4,23 +4,23 @@ load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
ts_library(
name = "tsconfig_types",
srcs = glob(["tsconfig_types.ts"]),
tsconfig = ":tsconfig.json",
node_modules = "@build_bazel_rules_typescript_internal_reference_types_directive_deps//:node_modules",
expected_diagnostics = [
"TS2304: Cannot find name 'Hammer'",
],
node_modules = "@build_bazel_rules_typescript_internal_reference_types_directive_deps//:node_modules",
tsconfig = ":tsconfig.json",
)

ts_library(
name = "test_lib",
testonly = True,
srcs = glob(["*.spec.ts"]),
tsconfig = ":tsconfig.json",
node_modules = "@build_bazel_rules_typescript_internal_reference_types_directive_deps//:node_modules",
tsconfig = ":tsconfig.json",
)

jasmine_node_test(
name = "test",
deps = [":test_lib"],
node_modules = "//:node_modules",
deps = [":test_lib"],
)
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ go_library(
"@com_github_bazelbuild_buildtools//build:go_default_library",
"@com_github_bazelbuild_buildtools//edit:go_default_library",
"@com_github_golang_protobuf//proto:go_default_library",
"@com_github_mattn_go_isatty//:go_default_library",
],
)

Expand Down

0 comments on commit 90c6fc5

Please sign in to comment.