mirror of
https://github.com/google/nomulus.git
synced 2025-05-14 08:27:14 +02:00
Fix Closure transpile.js build error
See also: - google/closure-compiler#2051 - bazelbuild/rules_closure@9e92334 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=135138725
This commit is contained in:
parent
e0f2620333
commit
ad66f805cf
5 changed files with 10 additions and 12 deletions
|
@ -6,9 +6,9 @@ domain_registry_repositories()
|
|||
|
||||
http_archive(
|
||||
name = "io_bazel_rules_closure",
|
||||
sha256 = "8c8a0f7f1327178bc8654e658cb6fff1171936e3033c5e263d513a7901a75b31",
|
||||
strip_prefix = "rules_closure-0.2.5",
|
||||
url = "http://bazel-mirror.storage.googleapis.com/github.com/bazelbuild/rules_closure/archive/0.2.5.tar.gz",
|
||||
sha256 = "7d75688c63ac09a55ca092a76c12f8d1e9ee8e7a890f3be6594a4e7d714f0e8a",
|
||||
strip_prefix = "rules_closure-b8841276e73ca677c139802f1168aaad9791dec0",
|
||||
url = "http://bazel-mirror.storage.googleapis.com/github.com/bazelbuild/rules_closure/archive/b8841276e73ca677c139802f1168aaad9791dec0.tar.gz", # 2016-10-02
|
||||
)
|
||||
|
||||
load("@io_bazel_rules_closure//closure:defs.bzl", "closure_repositories")
|
||||
|
@ -20,5 +20,4 @@ closure_repositories(
|
|||
omit_json = True,
|
||||
omit_jsr305 = True,
|
||||
omit_jsr330_inject = True,
|
||||
omit_protobuf_java = True,
|
||||
)
|
||||
|
|
|
@ -431,12 +431,6 @@ def domain_registry_repositories():
|
|||
sha1 = "79a8984096fc6591c1e3690e07d41be506356fa5",
|
||||
)
|
||||
|
||||
native.maven_jar(
|
||||
name = "protobuf_java",
|
||||
artifact = "com.google.protobuf:protobuf-java:3.0.0-beta-3",
|
||||
sha1 = "ed8c2f9a63cfa770292f8173fd0172bdaa014fe3",
|
||||
)
|
||||
|
||||
native.maven_jar(
|
||||
name = "qdox",
|
||||
artifact = "com.thoughtworks.qdox:qdox:1.12.1",
|
||||
|
|
|
@ -2,5 +2,5 @@ package(default_visibility = ["//visibility:public"])
|
|||
|
||||
filegroup(
|
||||
name = "soy_usegoog_js_files",
|
||||
srcs = ["@soyutils_usegoog//file"],
|
||||
srcs = ["@io_bazel_rules_closure//closure/templates:soy_jssrc"],
|
||||
)
|
||||
|
|
|
@ -286,6 +286,7 @@ function testDelete() {
|
|||
|
||||
/**
|
||||
* @param {string=} opt_email
|
||||
* @return {Object}
|
||||
*/
|
||||
function createTestContact(opt_email) {
|
||||
var nameMail = opt_email || 'test@example.com';
|
||||
|
@ -304,6 +305,7 @@ function createTestContact(opt_email) {
|
|||
/**
|
||||
* Convert parsed formContact to simulated wire form.
|
||||
* @param {!Element} contact
|
||||
* @return {Object}
|
||||
*/
|
||||
function simulateJsonForContact(contact) {
|
||||
contact.visibleInWhoisAsAdmin = contact.visibleInWhoisAsAdmin == 'true';
|
||||
|
|
|
@ -66,7 +66,10 @@ function tearDown() {
|
|||
}
|
||||
|
||||
|
||||
/** Creates a test registrar. */
|
||||
/**
|
||||
* Creates test registrar.
|
||||
* @return {Object}
|
||||
*/
|
||||
function createTestRegistrar() {
|
||||
return {
|
||||
emailAddress: 'test2.ui@example.com',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue