mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 16:37:13 +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
|
@ -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(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue