mirror of
https://github.com/google/nomulus.git
synced 2025-07-20 17:56:08 +02:00
Make essential Bazel packages publicly visible
This allows separate Bazel projects to reference Nomulus as an external repository. They can then copy the [] directory structure into their own project and customize the Action and Module lists for the GAE modules in their own deployment. ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=136863886
This commit is contained in:
parent
38a3d038c0
commit
2e81de9954
43 changed files with 125 additions and 146 deletions
|
@ -22,10 +22,11 @@ import com.google.common.collect.ImmutableList;\n\n\
|
|||
/** A registry of all {@link AbstractFieldExposer} impls. */\n\
|
||||
class FieldExposerRegistry {\n\
|
||||
static ImmutableList<AbstractFieldExposer> getFieldExposers() {\n\
|
||||
return ImmutableList.of(\n"
|
||||
return new ImmutableList.Builder<AbstractFieldExposer>()\n"
|
||||
for FILE in $@; do
|
||||
echo $FILE | sed \
|
||||
-e 's/\(.*\).java/ new google.registry.model.\1()/' \
|
||||
-e 's/\//./g'
|
||||
-e 's!^.*/java/\(.*\)\.java$! .add(new \1())!' \
|
||||
-e 's!/!.!g'
|
||||
done
|
||||
printf " .build();\n"
|
||||
printf " }\n}\n"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue