mirror of
https://github.com/google/nomulus.git
synced 2025-07-23 11:16:04 +02:00
Upgrade Nomulus to latest Closure Rules
Significant technical debt has been eliminated. The latest best practices are also now adopted for dealing with runfiles and dealing with files across repositories. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=140762937
This commit is contained in:
parent
79a72387ee
commit
59f4984083
28 changed files with 193 additions and 361 deletions
|
@ -6,17 +6,15 @@ licenses(["notice"]) # Apache 2.0
|
|||
|
||||
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_js_library")
|
||||
|
||||
filegroup(
|
||||
name = "js_files",
|
||||
srcs = glob(["*.js"]),
|
||||
)
|
||||
|
||||
closure_js_library(
|
||||
name = "js",
|
||||
srcs = [":js_files"],
|
||||
srcs = glob(["*.js"]),
|
||||
suppress = [
|
||||
"JSC_UNKNOWN_EXPR_TYPE",
|
||||
"JSC_IMPLICITLY_NULLABLE_JSDOC",
|
||||
],
|
||||
deps = [
|
||||
"//java/google/registry/ui/soy:Console",
|
||||
"//java/google/registry/ui/soy:Forms",
|
||||
"//javascript/closure",
|
||||
"//java/google/registry/ui/soy",
|
||||
"@io_bazel_rules_closure//closure/library",
|
||||
],
|
||||
)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue