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:
jart 2016-10-21 13:03:48 -07:00 committed by Ben McIlwain
parent 38a3d038c0
commit 2e81de9954
43 changed files with 125 additions and 146 deletions

View file

@ -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"