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:
jart 2016-12-01 12:33:53 -08:00 committed by Ben McIlwain
parent 79a72387ee
commit 59f4984083
28 changed files with 193 additions and 361 deletions

View file

@ -30,17 +30,22 @@ public final class RegistryTestServer {
new ImmutableMap.Builder<String, Path>()
.put(
"/index.html",
Paths.get("java/google/registry/ui/html/index.html"))
Paths.get(
"../domain_registry/java/google/registry/ui/html/index.html"))
.put(
"/error.html",
Paths.get("java/google/registry/ui/html/error.html"))
.put("/assets/js/*", Paths.get("java/google/registry/ui"))
.put("/assets/css/*", Paths.get("java/google/registry/ui/css"))
Paths.get(
"../domain_registry/java/google/registry/ui/html/error.html"))
.put(
"/assets/sources/deps.js",
Paths.get("java/google/registry/ui/deps.js"))
.put("/assets/sources/*", Paths.get(""))
.put("/assets/*", Paths.get("java/google/registry/ui/assets"))
"/assets/js/*",
Paths.get("../domain_registry/java/google/registry/ui"))
.put(
"/assets/css/*",
Paths.get("../domain_registry/java/google/registry/ui/css"))
.put("/assets/sources/*", Paths.get(".."))
.put(
"/assets/*",
Paths.get("../domain_registry/java/google/registry/ui/assets"))
.build();
private static final ImmutableList<Route> ROUTES = ImmutableList.of(