mirror of
https://github.com/google/nomulus.git
synced 2025-05-21 19:59:34 +02:00
Create a Gradle task to run the test server (#192)
* Create a Gradle task to run the test server As an artifact of the old build system, the test server relies on having the built registrar_(bin|dbg)*(\.css)?.js in place (see ConsoleUiAction among others). As a result, we create a Gradle task that puts those files into the correct, readable, location before running the test server. * Depend on assemble rather than build * refactor gitignores
This commit is contained in:
parent
9479e1e8b9
commit
56b10ea136
4 changed files with 24 additions and 4 deletions
|
@ -78,7 +78,7 @@ PRESUBMITS = {
|
|||
r".*Copyright 20\d{2} The Nomulus Authors\. All Rights Reserved\.",
|
||||
("java", "js", "soy", "sql", "py", "sh", "gradle"), {
|
||||
".git", "/build/", "/generated/", "node_modules/",
|
||||
"JUnitBackports.java"
|
||||
"JUnitBackports.java", "registrar_bin.", "registrar_dbg."
|
||||
}, REQUIRED):
|
||||
"File did not include the license header.",
|
||||
|
||||
|
@ -148,7 +148,7 @@ PRESUBMITS = {
|
|||
PresubmitCheck(
|
||||
r".*(innerHTML|outerHTML)\s*(=|[+]=)([^=]|$)",
|
||||
"js",
|
||||
{"/node_modules/"},
|
||||
{"/node_modules/", "registrar_bin."},
|
||||
):
|
||||
"Do not assign directly to the dom. Use goog.dom.setTextContent to set"
|
||||
" to plain text, goog.dom.removeChildren to clear, or "
|
||||
|
@ -156,7 +156,7 @@ PRESUBMITS = {
|
|||
PresubmitCheck(
|
||||
r".*console\.(log|info|warn|error)",
|
||||
"js",
|
||||
{"/node_modules/", "google/registry/ui/js/util.js"},
|
||||
{"/node_modules/", "google/registry/ui/js/util.js", "registrar_bin."},
|
||||
):
|
||||
"JavaScript files should not include console logging."
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue