mirror of
https://github.com/google/nomulus
synced 2025-12-23 06:15:42 +00:00
Add a task to run the nomulus tool (#262)
This commit is contained in:
@@ -592,6 +592,13 @@ task findGoldenImages(type: JavaExec) {
|
||||
args arguments
|
||||
}
|
||||
|
||||
// To run the nomulus tool:
|
||||
// gradle registryTool --args="foo --bar"
|
||||
task registryTool(type: JavaExec) {
|
||||
classpath = sourceSets.main.runtimeClasspath
|
||||
main = 'google.registry.tools.RegistryTool'
|
||||
}
|
||||
|
||||
task generateGoldenImages(type: Test) {
|
||||
// Common exclude pattern. See README in parent directory for explanation.
|
||||
exclude "**/*TestCase.*", "**/*TestSuite.*"
|
||||
|
||||
Reference in New Issue
Block a user