Fixed obs to ignore disconnected foo project.
Change-Id: I216611a83fbafe22e0a2469f8d058200395d0a77
Showing
1 changed file
with
2 additions
and
1 deletions
... | @@ -3,8 +3,9 @@ | ... | @@ -3,8 +3,9 @@ |
3 | # Selectively builds only those projects that contained modified Java files. | 3 | # Selectively builds only those projects that contained modified Java files. |
4 | # ---------------------------------------------------------------------------- | 4 | # ---------------------------------------------------------------------------- |
5 | 5 | ||
6 | +# TODO: figure out a more elegant way of ignoring disconnected projects | ||
6 | projects=$(find $ONOS_ROOT -name '*.java' \ | 7 | projects=$(find $ONOS_ROOT -name '*.java' \ |
7 | - -not -path '*/openflowj/*' -and -not -path '.git/*' -and -not -path '*/archetypes/*' \ | 8 | + -not -path '.git/*' -and -not -path '*/archetypes/*' -and -not -path '*/foo/*' \ |
8 | -exec $ONOS_ROOT/tools/dev/bin/onos-build-selective-hook {} \; | \ | 9 | -exec $ONOS_ROOT/tools/dev/bin/onos-build-selective-hook {} \; | \ |
9 | sort -u | sed "s:$ONOS_ROOT::g" | tr '\n' ',' | \ | 10 | sort -u | sed "s:$ONOS_ROOT::g" | tr '\n' ',' | \ |
10 | sed 's:/,:,:g;s:,/:,:g;s:^/::g;s:,$::g') | 11 | sed 's:/,:,:g;s:,/:,:g;s:^/::g;s:,$::g') | ... | ... |
-
Please register or login to post a comment