mirror of
https://github.com/google/nomulus
synced 2026-09-20 23:14:44 +00: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:
@@ -6,12 +6,10 @@ licenses(["notice"]) # Apache 2.0
|
||||
|
||||
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_java_template_library", "closure_js_template_library")
|
||||
|
||||
filegroup(
|
||||
name = "js_files",
|
||||
srcs = [
|
||||
"Console.soy.js",
|
||||
"Forms.soy.js",
|
||||
],
|
||||
closure_js_template_library(
|
||||
name = "soy",
|
||||
srcs = glob(["*.soy"]),
|
||||
globals = "//java/google/registry/ui:globals.txt",
|
||||
)
|
||||
|
||||
closure_java_template_library(
|
||||
@@ -19,15 +17,3 @@ closure_java_template_library(
|
||||
srcs = glob(["*.soy"]),
|
||||
java_package = "google.registry.ui.soy",
|
||||
)
|
||||
|
||||
closure_js_template_library(
|
||||
name = "Console",
|
||||
srcs = ["Console.soy"],
|
||||
globals = "//java/google/registry/ui:globals.txt",
|
||||
)
|
||||
|
||||
closure_js_template_library(
|
||||
name = "Forms",
|
||||
srcs = ["Forms.soy"],
|
||||
globals = "//java/google/registry/ui:globals.txt",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user